fix(core): merge connection line styles
This commit is contained in:
@@ -145,7 +145,10 @@ const ConnectionLine = defineComponent({
|
|||||||
: h('path', {
|
: h('path', {
|
||||||
'd': dAttr,
|
'd': dAttr,
|
||||||
'class': [connectionLineOptions.value.class, connectionStatus, 'vue-flow__connection-path'],
|
'class': [connectionLineOptions.value.class, connectionStatus, 'vue-flow__connection-path'],
|
||||||
'style': connectionLineStyle.value || connectionLineOptions.value.style,
|
'style': {
|
||||||
|
...connectionLineStyle.value,
|
||||||
|
...connectionLineOptions.value.style,
|
||||||
|
},
|
||||||
'marker-end': `url(#${getMarkerId(connectionLineOptions.value.markerEnd)})`,
|
'marker-end': `url(#${getMarkerId(connectionLineOptions.value.markerEnd)})`,
|
||||||
'marker-start': `url(#${getMarkerId(connectionLineOptions.value.markerStart)})`,
|
'marker-start': `url(#${getMarkerId(connectionLineOptions.value.markerStart)})`,
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user