Working with pages
A diagram can have several pages, each with its own canvas, shown as tabs in the status bar. Use them for different views of one system, such as the request flow and the network.
Add and switch pages#
- New tab (+) after the last tab, or New page in ⌘K, adds an empty page named after its position, such as "Page 3".
- New page from Mermaid in ⌘K adds a page laid out from a Mermaid diagram, named after its
title. - Click a tab, press [ or ], or type the page's name in ⌘K to switch.
Each page keeps its own position and zoom, and switching clears the selection. Everyone picks their own page, and you see other people's cursors only on the page you share with them.
Page actions#
The current tab's Tab options (⋯) menu:
| Action | Notes |
|---|---|
| Rename | Or double-click the tab. An empty name keeps the old one. |
| Duplicate | Copies the page right after it, named like "Request flow copy", with the same view. |
| Lock page, Unlock page | See Lock a page. |
| Sync with Git… | Fills an empty page from a file in a repository. See Synced pages. |
| Delete | Opens the previous page. Not available on a diagram's only page. |
Deleting a page doesn't ask for confirmation and can't be undone. If someone deletes the page you're on, you're taken to the first page.
Lock a page#
A locked page, marked with a lock on its tab, is read-only for everyone, MCP clients included. You can select, copy and export what's on it, but not add, move, change or delete anything. Renaming, duplicating and deleting still work, and a duplicate isn't locked.
Anyone who can edit the diagram can lock and unlock its pages. A synced page is read-only already, so it can't be locked.
Pages and undo#
- Adding, renaming, duplicating, locking and deleting pages aren't undo steps.
- Undoing a change made on another page takes you to that page.
- Undo and redo stop at changes made on a page that's now locked or synced.
The code panel shows only the current page. Exports start with the current page selected, and you can add others.