removes zoom post becoming stable

This commit is contained in:
dhrubesh 2021-05-17 09:06:05 +05:30
parent 789880fa07
commit 171fd714de

View File

@ -86,9 +86,6 @@ const ServiceMap = (props: ServiceMapProps) => {
<ForceGraph2D
ref={fgRef}
cooldownTicks={100}
onEngineStop={() => {
fgRef.current.zoomToFit(100, 120);
}}
graphData={graphData}
nodeLabel={getTooltip}
linkAutoColorBy={(d) => d.target}