fix: connection line style prop
* remove slot
This commit is contained in:
@@ -68,22 +68,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<g class="vue-flow__connection">
|
<g class="vue-flow__connection">
|
||||||
<slot
|
<path :d="dAttr" class="vue-flow__connection-path" :style="store.connectionLineStyle || {}" />
|
||||||
v-bind="{
|
|
||||||
sourceX,
|
|
||||||
sourceY,
|
|
||||||
sourcePosition: sourceHandle?.position,
|
|
||||||
targetX,
|
|
||||||
targetY,
|
|
||||||
targetPosition,
|
|
||||||
connectionLineType: store.connectionLineType,
|
|
||||||
connectionLineStyle: store.connectionLineStyle,
|
|
||||||
nodes: store.getNodes,
|
|
||||||
sourceNode: props.sourceNode,
|
|
||||||
sourceHandle,
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<path :d="dAttr" class="vue-flow__connection-path" :style="store.connectionLineStyle" />
|
|
||||||
</slot>
|
|
||||||
</g>
|
</g>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user