Undo and redo
Undo and redo any change to a diagram, from the canvas, the code, the assistant or another tab.
Undo takes back the last change to the diagram, and redo puts it back. It works the same in every kind.
Undo or redo a change
Use Undo and Redo in the canvas's top-left corner, or press:
| To | Mac | Windows and Linux |
|---|---|---|
| Undo | ⌘ Z | Ctrl Z |
| Redo | ⇧ ⌘ Z | Shift Ctrl Z |
⌘ Y (Ctrl Y) also redoes while the canvas has focus.
The keys work anywhere except while you're typing in a text field. In the code pane, they undo your typing instead.
What undo covers
Undo covers every change to the diagram, not only canvas edits:
- edits you make on the canvas or in the Properties panel,
- edits you type in the code,
- the assistant's changes,
- versions that arrived from another tab or from your AI app.
Everything the assistant changes for one request undoes as one step.
How long undo lasts
Each diagram keeps its own undo steps, up to 100, for as long as the page is open. Reloading the page clears them.
The version history keeps going after a reload, so you can still go back to an earlier version there.
When undo is off
While the assistant waits for you to apply a proposed change, undo and redo are off. The canvas and the code can't be edited either. See Review changes.