fix removing node

This commit is contained in:
liamcottle 2024-08-16 15:29:44 +12:00
parent c32f111a08
commit 66c011caca

View file

@ -352,7 +352,7 @@ export default {
for(const oldNodeId of oldNodeIds){
if(!newNodeIds.includes(oldNodeId)){
console.log("Removed Node: " + oldNodeId);
this.edges.remove(oldNodeId);
this.nodes.remove(oldNodeId);
}
}