Class AddNodeCommand
Command to add a node to the graph.
public class AddNodeCommand : IGraphCommand
- Inheritance
-
AddNodeCommand
- Implements
- Inherited Members
Constructors
AddNodeCommand(Graph, Node)
public AddNodeCommand(Graph graph, Node node)
Parameters
Properties
Description
Gets a human-readable description of the command.
public string Description { get; }
Property Value
Methods
Execute()
Executes the command.
public void Execute()
Undo()
Reverses the command (undo).
public void Undo()