public static ComDelNode SetCommand(Graph curgraph, Node node) { var tmp = new ComDelNode(); tmp._graph = curgraph; tmp._node = node; return(tmp); }
public void RemoveNode(Node node) { NewOperation(); var com = ComDelNode.SetCommand(this, node); com.Execute(); history.Add(com); }