zoom groups

This commit is contained in:
ari committed 2022-07-12 20:31:00 -04:00
1 parent 1661df888a
commit b4f46bec92
1 file changed
+1 -1
@@ -58,7 +58,7 @@ export const DAGGraphBoardInner: FC<DAGGraphBoardProps> = ({
);
}
// 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,