fix(core,nodes): rename parentNode prop to parent
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user