feat(edges): Add source-target-pos to graph-edge

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent 600e3866c4
commit 1b206c942c
9 changed files with 143 additions and 117 deletions
+1 -2
View File
@@ -13,7 +13,6 @@ interface NodeWrapperProps {
draggable?: boolean
selectable?: boolean
connectable?: boolean
scale?: number
}
const props = defineProps<NodeWrapperProps>()
@@ -121,7 +120,7 @@ export default {
cancel=".nodrag"
:handle="node.dragHandle"
:disabled="!props.draggable"
:scale="props.scale"
:scale="store.transform[2]"
:grid="props.snapGrid"
:enable-user-select-hack="false"
v-bind="props.draggable"