feat(core): add getIncomers, getOutgoers & getConnectedEdges as store actions

This commit is contained in:
braks
2023-10-06 18:00:01 +02:00
committed by Braks
parent 5e888987eb
commit edc7669b18
4 changed files with 95 additions and 20 deletions
+2
View File
@@ -31,7 +31,9 @@ function defaultState(): State {
return {
vueFlowRef: null,
viewportRef: null,
// todo: change this to a Set
nodes: [],
// todo: change this to a Set
edges: [],
nodeTypes: {},
edgeTypes: {},