Working with Tabs
ZXW Graphboard supports multiple tabs: every tab holds its own, fully independent graph. Draw a diagram in one tab, switch to another to sketch a variant, and switch back — nothing you do in one tab affects the others. All tabs are saved together automatically.
The tab bar
Section titled “The tab bar”A tab bar runs across the top of the editor. Each tab is a chip showing its name; the active tab is highlighted. To the right of the chips is a + button.
| Action | How |
|---|---|
| Add a tab | Click the + button |
| Switch tabs | Click a chip, or press ⌘/Ctrl + Shift + [ / ⌘/Ctrl + Shift + ] for previous/next |
| Rename a tab | Double-click the chip and type the new name; press Enter to commit, Esc to cancel |
| Close a tab | Click the × on the chip |
New tabs are named automatically: “Tab 1”, “Tab 2”, and so on (renamed tabs are skipped when picking the next number, so names never collide).
What is independent per tab
Section titled “What is independent per tab”Each tab keeps its own:
- Graph — vertices, edges, labels, and types are separate per tab.
- Selection — what you had selected in one tab stays selected when you come back to it.
- Undo / redo history — up to 50 steps per tab. Undoing in one tab never touches another; you can undo in tab A, switch to tab B and undo something else there, then return to A with its own history intact.
- Camera position — each tab remembers its own pan and zoom.
What is shared across tabs
Section titled “What is shared across tabs”A few things belong to the workspace as a whole, not to one tab:
- The clipboard — copy or cut a subgraph in one tab, paste it into another. IDs are re-minted on paste, so pasting across tabs never collides with the destination’s vertices.
- The vertex-type and edge-kind palette — the type you last picked for adding vertices applies in every tab.
Tabs and save / export / import / reset
Section titled “Tabs and save / export / import / reset”- Save (
⌘/Ctrl + S, and the autosave) persists all tabs — and which one was active — to your browser. Reopening the editor restores every tab. - Export writes the active tab only, as a single-graph file (JSON, TikZ, …). The exported filename comes from the tab’s name.
- Import merges a JSON file into the active tab, exactly like before tabs existed.
- Reset clears the active tab only — its vertices, edges, and undo history. The tab keeps its name, and the shared clipboard is untouched.
Closing tabs
Section titled “Closing tabs”- Closing a tab with content asks for confirmation first — the tab’s graph and its undo history are deleted permanently.
- Empty tabs close silently.
- You can never close the last tab: closing it replaces it with a fresh, empty “Tab 1”.
Next: Editing Graphs.