fix(edges): set source and target position on edge obj

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-03-17 17:27:48 +01:00
committed by Braks
parent b21c16de39
commit c9d643d700
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -499,6 +499,7 @@ export function useActions(state: State, getters: ComputedGetters): Actions {
return [nodeRect, node, isRectObj]
}
// todo: rename to `findIntersectingNodes`
const getIntersectingNodes: Actions['getIntersectingNodes'] = (nodeOrRect, partially = true, nodes) => {
const [nodeRect, node, isRect] = getNodeRect(nodeOrRect)