refactor(edges)!: simplify edge paths and center calculations

This commit is contained in:
braks
2022-10-08 23:25:34 +02:00
committed by Braks
parent 47d837aac0
commit 2d76bf345d
22 changed files with 206 additions and 270 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ export default {
:id="props.id"
class="vue-flow__edge-path"
:style="{ stroke: props.data?.color }"
:d="edgePath"
:d="edgePath[0]"
:marker-end="props.markerEnd"
/>
<text>