zoom groups
This commit is contained in:
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
|
// 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 = {
|
const elements = {
|
||||||
nodes: state.data.elements.nodes.map((n) => ({
|
nodes: state.data.elements.nodes.map((n) => ({
|
||||||
...n,
|
...n,
|
||||||
|
|||||||
Reference in new issue
Block a user