Table of Contents

Class RemoveNodeCommand

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

Command to remove a node and its connected edges from the graph.

public class RemoveNodeCommand : IGraphCommand
Inheritance
RemoveNodeCommand
Implements
Inherited Members

Constructors

RemoveNodeCommand(Graph, Node)

public RemoveNodeCommand(Graph graph, Node node)

Parameters

graph Graph
node 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()