Table of Contents

Class RemoveEdgeCommand

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

Command to remove an edge from the graph.

public class RemoveEdgeCommand : IGraphCommand
Inheritance
RemoveEdgeCommand
Implements
Inherited Members

Constructors

RemoveEdgeCommand(Graph, Edge)

public RemoveEdgeCommand(Graph graph, Edge edge)

Parameters

graph Graph
edge Edge

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