Table of Contents

Interface IGraphCommand

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

Interface for reversible commands that support undo/redo.

public interface IGraphCommand

Properties

Description

Gets a human-readable description of the command.

string Description { get; }

Property Value

string

Methods

Execute()

Executes the command.

void Execute()

Undo()

Reverses the command (undo).

void Undo()