fix(nodes): nodeExtent not set on position update

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-26 15:33:56 +01:00
parent 4740a2c8fe
commit 27e39796a0
2 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ const dagreGraph = new dagre.graphlib.Graph()
dagreGraph.setDefaultEdgeLabel(() => ({}))
const nodeExtent: NodeExtent = [
[0, 0],
[1000, 1000],
[0, -100],
[1000, 500],
]
const elements = ref<Elements>(initialElements)