feat(svelte): add BaseEdge and EdgeLabelRenderer

This commit is contained in:
moklick
2023-02-23 18:21:39 +01:00
parent bb528e6798
commit 1dd5613482
15 changed files with 225 additions and 122 deletions
+4 -2
View File
@@ -83,7 +83,8 @@
id: '1-2',
type: 'default',
source: '1',
target: '2'
target: '2',
label: 'Edge Text'
}, {
id: '1-3',
type: 'smoothstep',
@@ -93,7 +94,8 @@
id: '2-4',
type: 'default',
source: '2',
target: '4'
target: '4',
animated: true
}];
function updateNode() {