Table of Contents

Class GroupNodesCommand

Namespace
FlowGraph.Core.Commands
Assembly
FlowGraph.Core.dll

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

graph Graph
nodeIds IEnumerable<string>
groupLabel string

Properties

Description

Gets a human-readable description of the command.

public string Description { get; }

Property Value

string

Methods

Execute()

Executes the command.

public void Execute()

Undo()

Reverses the command (undo).

public void Undo()