feat(svelte): make edges selectable

This commit is contained in:
moklick
2023-05-17 13:04:28 +02:00
parent bb847b7a77
commit dd8292ce57
10 changed files with 42 additions and 11 deletions
@@ -34,7 +34,8 @@
id: '2',
type: 'default',
data: { label: 'Node' },
position: { x: 0, y: 150 }
position: { x: 0, y: 150 },
selectable: false,
},
{
id: 'A',
@@ -83,7 +84,8 @@
id: '1-3',
type: 'smoothstep',
source: '1',
target: '3'
target: '3',
selectable: false
},
{
id: '2-4',