Ir al contenido

MoveNodeCommand

Defined in: undo/commands.ts:192

Command to move a node (batch property changes).

new MoveNodeCommand(model, nodeKey, newX, newY): MoveNodeCommand

Defined in: undo/commands.ts:201

GraphLinksModel

string | number

number

number

MoveNodeCommand

describe(): string

Defined in: undo/commands.ts:223

Get a description of the command.

string

Command.describe


execute(): void

Defined in: undo/commands.ts:208

Execute the command.

void

Command.execute


undo(): void

Defined in: undo/commands.ts:218

Undo the command.

void

Command.undo