Class RemoveNodeCommand
Command to remove a node and its connected edges from the graph.
public class RemoveNodeCommand : IGraphCommand
- Inheritance
-
RemoveNodeCommand
- Implements
- Inherited Members
Constructors
RemoveNodeCommand(Graph, Node)
public RemoveNodeCommand(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()