|
@@ -156,10 +156,8 @@ export class NodeState extends NodeOrValueState {
|
|
|
// Has no side effects - instead returns the deltas that capture the deletion of this node (and its incoming+outgoing edges)
|
|
|
getDeltasForDelete(): (EdgeUpdate|NodeDeletion)[] {
|
|
|
const [edgeUnsettings, incomingEdgeDependencies] = this.getIncomingEdgeDependenciesForDelete();
|
|
|
-
|
|
|
const outgoingEdgeDependencies = [...this.outgoing.values()];
|
|
|
const nodeDeletion = new NodeDeletion(this.creation, outgoingEdgeDependencies, incomingEdgeDependencies);
|
|
|
-
|
|
|
return [...edgeUnsettings, nodeDeletion];
|
|
|
}
|
|
|
}
|