Class RemoveNodesCommand
Command to remove multiple nodes and their connected edges.
public class RemoveNodesCommand : IGraphCommand
- Inheritance
-
RemoveNodesCommand
- Implements
- Inherited Members
Constructors
RemoveNodesCommand(Graph, IEnumerable<Node>)
public RemoveNodesCommand(Graph graph, IEnumerable<Node> nodes)
Parameters
graphGraphnodesIEnumerable<Node>
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()