fix(edges): pass markers to correct attributes

This commit is contained in:
bcakmakoglu
2022-05-26 19:28:25 +02:00
committed by Braks
parent e714fe66dd
commit 6494b65b3e
@@ -36,11 +36,11 @@ const BaseEdge: FunctionalComponent<Props> = function ({
}) {
return [
h('path', {
style: { ...style },
d: path,
class: 'vue-flow__edge-path',
markerEnd,
markerStart,
'style': { ...style },
'd': path,
'class': 'vue-flow__edge-path',
'marker-end': markerEnd,
'marker-start': markerStart,
}),
label
? h(EdgeText, {