fix(core): remove edges before nodes
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -400,13 +400,13 @@ export function useActions(state: State, getters: ComputedGetters): Actions {
|
||||
}
|
||||
})
|
||||
|
||||
if (nodeChanges.length) {
|
||||
state.hooks.nodesChange.trigger(nodeChanges)
|
||||
}
|
||||
|
||||
if (edgeChanges.length) {
|
||||
state.hooks.edgesChange.trigger(edgeChanges)
|
||||
}
|
||||
|
||||
if (nodeChanges.length) {
|
||||
state.hooks.nodesChange.trigger(nodeChanges)
|
||||
}
|
||||
}
|
||||
|
||||
const removeEdges: Actions['removeEdges'] = (edges) => {
|
||||
|
||||
Reference in New Issue
Block a user