fix(svelte) backup connection line now renders correctly

This commit is contained in:
Peter
2023-09-27 15:53:17 +02:00
parent 2e6c5d9191
commit 1d8fc1bfaf
3 changed files with 11 additions and 5 deletions
@@ -162,8 +162,12 @@
<Pane on:paneclick panOnDrag={panOnDrag === undefined ? true : panOnDrag}>
<ViewportComponent>
<EdgeRenderer on:edgeclick on:edgecontextmenu {defaultEdgeOptions} />
<ConnectionLine containerStyle={connectionLineContainerStyle} style={connectionLineStyle}>
<slot name="connectionLineComponent" slot="connectionLineComponent" />
<ConnectionLine
containerStyle={connectionLineContainerStyle}
style={connectionLineStyle}
usingCustomLine={$$slots.connectionLine}
>
<slot name="connectionLine" slot="connectionLine" />
</ConnectionLine>
<div class="svelte-flow__edgelabel-renderer" />
<NodeRenderer