Interface: Command
Defined in: diagram/history.ts:11
Represents an atomic change to the state tracked by the command history, which could be performed and reverted later if needed.
See
Properties
Property | Modifier | Type | Description |
---|---|---|---|
|
| Command title to display in the UI. |
Methods
invoke()
invoke():
Command
Defined in: diagram/history.ts:21
Performs the command action.
Returns
Command
Inverse command to reverse changes done by the action.