From b4f46bec921bc7cbc348b0caad49e9480a5e4310 Mon Sep 17 00:00:00 2001 From: Ari Date: Tue, 12 Jul 2022 20:31:00 -0400 Subject: [PATCH] zoom groups --- webapp/src/components/DAGGraph/board/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/DAGGraph/board/index.tsx b/webapp/src/components/DAGGraph/board/index.tsx index 80db584..770fd70 100644 --- a/webapp/src/components/DAGGraph/board/index.tsx +++ b/webapp/src/components/DAGGraph/board/index.tsx @@ -58,7 +58,7 @@ export const DAGGraphBoardInner: FC = ({ ); } // this hack avoids breakage on when zooming - const prefix = Math.floor(zoom / (2.5 / 3)); + const prefix = Math.floor(zoom / (2.5 / 6)); const elements = { nodes: state.data.elements.nodes.map((n) => ({ ...n,