feat(core): add nodes to isValidConnection args

This commit is contained in:
braks
2023-11-08 08:27:12 +01:00
committed by Braks
parent 75cb0c9b1e
commit c1603b2d58
3 changed files with 6 additions and 1 deletions
@@ -57,6 +57,7 @@ export function useHandle({
emits,
viewport,
edges,
nodes,
isValidConnection: isValidConnectionProp,
} = useVueFlow()
@@ -152,6 +153,7 @@ export function useHandle({
isValidConnectionHandler,
doc,
edges.value,
nodes.value,
findNode,
),
)
@@ -278,6 +280,7 @@ export function useHandle({
isValidConnectionHandler,
doc,
edges.value,
nodes.value,
findNode,
)