examples: use EdgeLabelRenderer in edges example

This commit is contained in:
braks
2022-11-04 20:58:52 +01:00
committed by Braks
parent 43ff2a42e6
commit a26e83b27d
9 changed files with 110 additions and 138 deletions

View File

@@ -31,10 +31,6 @@ const { onPaneReady, getNode, panOnDrag } = useVueFlow({
{ id: 'e3-4', type: 'rgb-line', data: { color: 'blue' }, source: '3', target: '4', animated: true },
],
zoomOnScroll: false,
nodeExtent: [
[-50, -150],
[500, 300],
],
preventScrolling: false,
})