Undo and history
Undo and redo step through your own changes since you opened the diagram, and the History panel jumps to any of them.
| Action | Mac | Windows and Linux |
|---|---|---|
| Undo | ⌘Z | Ctrl+Z |
| Redo | ⇧⌘Z or ⌃Y | Ctrl+Shift+Z or Ctrl+Y |
Undo and Redo are also in the status bar and the command palette. The shortcuts don't work while you're typing in a text field.
What counts as a step#
One complete action: a drag from press to release, a label edit from start to finish, one change in the style toolbar or the pricing panel, adding, pasting or deleting any number of items, or a code panel edit until you click outside it.
- History is per person: you only undo your own changes.
- It starts when you open the diagram and ends when you close or reload it. Lineout keeps your last 50 steps.
- Undoing a step made on another page takes you to that page.
The History panel#
Click History in the left rail, or run Toggle history panel from ⌘K. It lists your steps from "Open" to the latest, each with a description such as "Move 3 items" or "Add AWS Lambda" and its time.
Click a step to undo or redo everything in between. While the panel is open, ↑ or ← steps back and ↓ or → forward. Steps after the current one are dimmed, and a new change removes them.
Changes you can't undo#
- Adding, renaming, duplicating, locking and deleting pages.
- Renaming the diagram.
- Text boxes resizing to fit their text.
- Other people's changes.
Edits made by Claude or other MCP clients aren't in anyone's history, so they can't be undone from the editor.