refactor(nodes): add parentId to NodeProps closes #4061

This commit is contained in:
moklick
2024-06-03 17:23:46 +02:00
parent 5769ad2ab5
commit 3cc14e8ee5
7 changed files with 26 additions and 1 deletions
@@ -44,6 +44,8 @@
export let height: $$Props['height'] = undefined;
export let dragHandle: $$Props['dragHandle'] = undefined;
export let initialized: $$Props['initialized'] = false;
export let parentId: $$Props['parentId'] = undefined;
let className: string = '';
export { className as class };
@@ -201,6 +203,7 @@
{dragging}
{draggable}
{dragHandle}
{parentId}
type={nodeType}
isConnectable={$connectableStore}
positionAbsoluteX={positionX}