diff --git a/packages/vue-flow/src/utils/graph.ts b/packages/vue-flow/src/utils/graph.ts index bc6c37e4..5146f426 100644 --- a/packages/vue-flow/src/utils/graph.ts +++ b/packages/vue-flow/src/utils/graph.ts @@ -56,10 +56,10 @@ export const parseNode = (node: Node, nodeExtent: CoordinateExtent, defaults?: P width: 0, height: 0, }), - handleBounds: { + handleBounds: shallowReactive({ source: [], target: [], - }, + }), computedPosition: markRaw({ z: 0, ...node.position,