public void Undo() { graph.AddNode(node); foreach (var edge in connections) { graph.Connect(edge); } connections.Clear(); }
public void Do() { graph.AddNode(node); }
public void Undo() { graph.AddNode(node); foreach (var edge in connections) { graph.Connect(edge); } connections.Clear(); }
public void Do() { graph.AddNode(node); }