Class GroupNodesCommand
Command to group selected nodes into a new group.
public class GroupNodesCommand : IGraphCommand
- Inheritance
-
GroupNodesCommand
- Implements
- Inherited Members
Constructors
GroupNodesCommand(Graph, IEnumerable<string>, string?)
public GroupNodesCommand(Graph graph, IEnumerable<string> nodeIds, string? groupLabel = null)
Parameters
graphGraphnodeIdsIEnumerable<string>groupLabelstring
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()