fix(core): add initialized prop to GraphNode

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-14 12:44:36 +01:00
committed by Braks
parent 00a9795a41
commit 8734a16ae6
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ export function useActions(state: State, getters: ComputedGetters): Actions {
node.handleBounds.source = getHandleBounds('.source', update.nodeElement, zoom)
node.handleBounds.target = getHandleBounds('.target', update.nodeElement, zoom)
node.dimensions = dimensions
if (!node.initialized) node.initialized = true
res.push({
id: node.id,