/// <summary> /// /// </summary> /// <param name="node"></param> public void RegisterNodeAdditionForUndo(IViewerNode node) { var undoAction = new AddNodeUndoAction(graph, viewer, node); geomGraphEditor.InsertToListAndSetTheBoxBefore(undoAction); }
/// <summary> /// /// </summary> /// <param name="node"></param> public void RegisterNodeAdditionForUndo(IViewerNode node) { AddNodeUndoAction undoAction = new AddNodeUndoAction(this.graph, this.viewer, node); geomGraphEditor.InsertToListAndFixTheBox(undoAction); }