Table of Contents

Class RemoveNodesCommand

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

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

graph Graph
nodes IEnumerable<Node>

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()