Ir al contenido

SetLinkLabelPositionCommand

Defined in: undo/commands.ts:405

Command to persist a manual link-label reposition (from LinkLabelDraggingTool). There is no model-data field for a link’s label position, so this operates directly on the visual Link, like ReshapeLinkCommand.

new SetLinkLabelPositionCommand(link, newPosition, oldPosition): SetLinkLabelPositionCommand

Defined in: undo/commands.ts:410

Link

LinkLabelPosition

LinkLabelPosition

SetLinkLabelPositionCommand

describe(): string

Defined in: undo/commands.ts:431

Get a description of the command.

string

Command.describe


execute(): void

Defined in: undo/commands.ts:423

Execute the command.

void

Command.execute


undo(): void

Defined in: undo/commands.ts:427

Undo the command.

void

Command.undo