Ir al contenido

AddNodeCommand

Defined in: undo/commands.ts:9

Command to add a node to the model.

new AddNodeCommand(model, nodeData): AddNodeCommand

Defined in: undo/commands.ts:14

GraphLinksModel

NodeData

AddNodeCommand

describe(): string

Defined in: undo/commands.ts:34

Get a description of the command.

string

Command.describe


execute(): void

Defined in: undo/commands.ts:19

Execute the command.

void

Command.execute


undo(): void

Defined in: undo/commands.ts:29

Undo the command.

void

Command.undo