refactor(nodes): add parentId to NodeProps closes #4061
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
|
||||
- update internals on node resizer updates
|
||||
- re-observe node when `node.hidden` is toggled
|
||||
- update `updateNodeData` argument type - thanks @ogroppo
|
||||
- add `selectable`, `deletable` and `draggable` to node and edge props
|
||||
- add `parentId` to node props
|
||||
|
||||
## 12.0.0-next.18
|
||||
|
||||
|
||||
@@ -218,6 +218,7 @@ export function NodeWrapper<NodeType extends Node>({
|
||||
dragging={dragging}
|
||||
dragHandle={node.dragHandle}
|
||||
zIndex={internals.z}
|
||||
parentId={node.parentId}
|
||||
{...nodeDimensions}
|
||||
/>
|
||||
</Provider>
|
||||
|
||||
Reference in New Issue
Block a user