feat(svelte): add subflows

This commit is contained in:
moklick
2023-03-15 18:34:07 +01:00
parent 9e961809ee
commit 77d14f9ad0
15 changed files with 347 additions and 84 deletions
@@ -1,5 +1,6 @@
<script lang="ts">
import { onDestroy } from 'svelte';
import { internalsSymbol } from '@reactflow/system';
import { getPositionWithOrigin } from '@reactflow/utils';
import { NodeWrapper } from '$lib/components/NodeWrapper';
@@ -41,6 +42,7 @@
connectable={node.connectable || node.connectable === undefined}
positionAbsolute={node.positionAbsolute}
positionOrigin={posOrigin}
isParent={!!node[internalsSymbol]?.isParent}
width={node.width}
height={node.height}
style={node.style}