Skip to content

@graphty/graphty-element / commands / CommandMeta

Type Alias: CommandMeta ​

CommandMeta = { undo: "undoable"; } | { reason: string; undo: "exempt"; }

Defined in: graphty-element/commands.ts:25

How one op behaves under undo: a step in the history, or exempt from it and why.

Union Members ​

Type Literal ​

{ undo: "undoable"; }


Type Literal ​

{ reason: string; undo: "exempt"; }

reason ​

readonly reason: string

Why it changes nothing a project file saves.

undo ​

readonly undo: "exempt"