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 [ return [
h('path', { h('path', {
style: { ...style }, 'style': { ...style },
d: path, 'd': path,
class: 'vue-flow__edge-path', 'class': 'vue-flow__edge-path',
markerEnd, 'marker-end': markerEnd,
markerStart, 'marker-start': markerStart,
}), }),
label label
? h(EdgeText, { ? h(EdgeText, {