Class PasteCommand
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
Properties
Description
Gets a human-readable description of the command.
public string Description { get; }
Property Value
Methods
Execute()
Executes the command.
public void Execute()
Undo()
Reverses the command (undo).
public void Undo()