fix(core,nodes): rename parentNode prop to parent

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-03-17 19:44:34 +01:00
committed by Braks
parent 0476dffa98
commit fe46e6f103
2 changed files with 2 additions and 2 deletions
@@ -215,7 +215,7 @@ const NodeWrapper = defineComponent({
dimensions: node.dimensions,
isValidTargetPos: node.isValidTargetPos,
isValidSourcePos: node.isValidSourcePos,
parentFoo: node.parentNode,
parent: node.parentNode,
zIndex: node.computedPosition.z,
targetPosition: node.targetPosition,
sourcePosition: node.sourcePosition,
+1 -1
View File
@@ -131,7 +131,7 @@ export interface NodeProps<Data = ElementData, CustomEvents = {}, Type extends s
/** called when used as source for new connection */
isValidSourcePos?: ValidConnectionFunc
/** parent node id */
parentNode?: string
parent?: string
/** is node currently dragging */
dragging: boolean
resizing: boolean