Merge branch 'xyflow' into svelte-flow-connection-mode

This commit is contained in:
Moritz Klack
2023-09-25 17:17:12 +02:00
committed by GitHub
5 changed files with 22 additions and 4 deletions
@@ -55,6 +55,8 @@
export let autoPanOnConnect: $$Props['autoPanOnConnect'] = true;
export let autoPanOnNodeDrag: $$Props['autoPanOnNodeDrag'] = true;
export let onError: $$Props['onError'] = undefined;
export let attributionPosition: $$Props['attributionPosition'] = undefined;
export let proOptions: $$Props['proOptions'] = undefined;
export let defaultMarkerColor = '#b1b1b7';
@@ -151,7 +153,7 @@
>
<Pane on:paneclick panOnDrag={panOnDrag === undefined ? true : panOnDrag}>
<ViewportComponent>
<EdgeRenderer on:edgeclick />
<EdgeRenderer on:edgeclick on:edgecontextmenu />
<ConnectionLine />
<div class="svelte-flow__edgelabel-renderer" />
<NodeRenderer
@@ -172,7 +174,7 @@
<UserSelection />
</Pane>
</Zoom>
<Attribution />
<Attribution {proOptions} position={attributionPosition} />
<slot />
</div>