fix(subflows): adjust positions before call fit view closes #2737

This commit is contained in:
moklick
2023-01-10 12:39:37 +01:00
parent 791e3f8638
commit f33cd6e3ac
3 changed files with 40 additions and 33 deletions
@@ -22,7 +22,6 @@ const onNodeClick = (_: MouseEvent, node: Node) => console.log('click', node);
const onEdgeClick = (_: MouseEvent, edge: Edge) => console.log('click', edge);
const defaultViewport = { x: 0, y: 0, zoom: 1.5 };
const initialNodes: Node[] = [
{
id: '1',