Beispiel #1
0
        public static ComDelNode SetCommand(Graph curgraph, Node node)
        {
            var tmp = new ComDelNode();

            tmp._graph = curgraph;
            tmp._node  = node;
            return(tmp);
        }
Beispiel #2
0
        public void RemoveNode(Node node)
        {
            NewOperation();
            var com = ComDelNode.SetCommand(this, node);

            com.Execute();
            history.Add(com);
        }