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