simplify edgereconnectanchor

This commit is contained in:
peterkogo
2025-04-11 16:05:20 +02:00
parent 3e20c2a0ee
commit eec8d91f95
2 changed files with 9 additions and 38 deletions
@@ -75,18 +75,8 @@
{/if}
{#if selected}
<EdgeReconnectAnchor
bind:reconnecting
type="source"
position={{ x: sourceX, y: sourceY }}
asDomNode
/>
<EdgeReconnectAnchor
bind:reconnecting
type="target"
position={{ x: targetX, y: targetY }}
asDomNode
/>
<EdgeReconnectAnchor bind:reconnecting type="source" position={{ x: sourceX, y: sourceY }} />
<EdgeReconnectAnchor bind:reconnecting type="target" position={{ x: targetX, y: targetY }} />
{/if}
<style>