Table of Contents

Class AddNodesToGroupCommand

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

Command to add nodes to an existing group.

public class AddNodesToGroupCommand : IGraphCommand
Inheritance
AddNodesToGroupCommand
Implements
Inherited Members

Constructors

AddNodesToGroupCommand(Graph, string, IEnumerable<string>)

public AddNodesToGroupCommand(Graph graph, string groupId, IEnumerable<string> nodeIds)

Parameters

graph Graph
groupId string
nodeIds IEnumerable<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()