Table of Contents

Class PasteCommand

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

Command to paste nodes and edges from clipboard.

public class PasteCommand : IGraphCommand
Inheritance
PasteCommand
Implements
Inherited Members

Constructors

PasteCommand(Graph, List<Node>, List<Edge>)

public PasteCommand(Graph graph, List<Node> pastedNodes, List<Edge> pastedEdges)

Parameters

graph Graph
pastedNodes List<Node>
pastedEdges List<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()