This commit is contained in:
Timothy J. Baek
2024-09-18 00:18:47 +02:00
parent 5065291f72
commit 984e0c533e
3 changed files with 14 additions and 8 deletions

View File

@@ -73,6 +73,7 @@
</div>
{:else if $showControls}
<Drawer
show={$showControls}
on:close={() => {
showControls.set(false);
}}

View File

@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import { getContext, createEventDispatcher } from 'svelte';
import { useSvelteFlow, useNodesInitialized, useStore } from '@xyflow/svelte';
import { SvelteFlow, Controls, Background, BackgroundVariant } from '@xyflow/svelte';
@@ -91,6 +91,8 @@
id: parentId + '-' + pos.id,
source: parentId,
target: pos.id,
selectable: false,
type: 'smoothstep',
animated: true
});