fixes zoom issue

This commit is contained in:
dhrubesh 2021-05-09 23:02:16 +05:30
parent 9ac2dece11
commit 705279b6fd

View File

@ -69,7 +69,7 @@ const ServiceMap = (props: ServiceMapProps) => {
} }
const zoomToService = (value: string) => { const zoomToService = (value: string) => {
fgRef && fgRef.current.zoomToFit(700, 280, (e) => e.id === value); fgRef && fgRef.current.zoomToFit(700, 390, (e) => e.id === value);
}; };
const { nodes, links } = getGraphData(serviceMap); const { nodes, links } = getGraphData(serviceMap);