Skip to Content
ToDiagram

The Editor

A tour of the editor, from tabs and the text editor to the canvas and its menus.

The editor has two sides. The text editor on the left holds your document as text. The canvas on the right draws it. Change the text and the diagram follows.

The editor with a JSON document: tabs and the menu at the top left, Views, Fields and Share at the top right, the text editor on the left and the canvas toolbar at the bottom

Top bar

The card at the top left holds the menu and your tabs.

  • Menu (the three lines): open and save documents, your cloud documents, preferences, apps and your account. See The menu.
  • Tab options (the three dots): Close All, Close Saved and Close Except Active.
  • Tabs: each tab is one document. The badge shows its format. A dot means unsaved changes, and a cloud means the tab is saved to your account. Right-click a tab to Rename it, Compare it with the active tab, or Close Others.
  • +: opens a new tab. A new tab has no format yet. Type or paste, and the format is detected.

The card at the top right holds what applies to the open document.

  • Views: show the document as a flow diagram, a tree, a table or a chart. See Views and Fields.
  • Fields: choose which fields the diagram shows.
  • Save status: Create Document or Save Changes while there are unsaved changes, then the time of the last save. See Cloud Storage.
  • Share: share a saved document. See Sharing.

Text editor

The text editor has syntax highlighting and error checking for every format. Its bottom bar shows:

  • Close editor: hides the text editor so the canvas fills the window. A small arrow on the left edge opens it again.
  • Status: a green check when the document is valid. A red mark means there are errors. Hover it to read them.
  • JSON Schema: validate the document against a schema. See JSON Schema.
  • Format: the format of the tab. Pick another one to convert the document, for example JSON to YAML. A new tab shows AUTO until the format is detected.

On screens 768 pixels wide or narrower the text editor is hidden and the canvas takes the full width.

Canvas

Drag the canvas to move around. Click a node to focus it. With Sync selection with editor on, the text editor jumps to the same place.

The toolbar at the bottom has, from left to right:

ButtonWhat it does
Center first itemJumps to the first node
Fit to centerFits the whole diagram in view
Zoom out, Zoom inChanges the zoom level
SearchFinds keys, values and JSON paths. See Search
ExportSaves the diagram as an image or a video. See Export and Animate
AnimatePlays the diagram step by step
Collapse all, Expand allFolds every node of a data document
Swap directionSwitches a ToDiagram document or a Mermaid flowchart between left to right and top to bottom

The last two depend on the document: data formats show Collapse all, ToDiagram documents and Mermaid flowcharts show Swap direction.

Each node of a data document has a small button on the fields that hold an object or an array. Click it to fold or unfold that branch.

The menu

The menu at the top left of the editor, open on Preferences: Color Theme, Input device and Sync selection with editor

ItemWhat it does
Open > From computerOpens a file from your computer
Open > From URLFetches a URL into a new tab. See Import from URL
Save > Download fileDownloads the document in its format
Save > Save to cloudSaves the document to your account
My documentsOpens your cloud documents. See Cloud Storage
Preferences > Color ThemeOpens the theme drawer. See Customize Theme
Preferences > Input deviceTrackpad: scrolling moves the canvas and pinching zooms. Mouse: the wheel zooms. Auto follows the device you last scrolled with
Preferences > Sync selection with editorKeeps the selected node and the text cursor in step
Apps and integrationsSupabase, the MCP server, the Chrome extension and, when your browser offers it, the desktop app
AccountYour profile, billing, team, API keys and connected MCP apps. Shown as Log in when you are signed out

Start a document

A new tab shows a start screen on the canvas:

  • Examples: a card each for JSON, YAML, XML, CSV, Custom Diagram (the ToDiagram format) and Mermaid. Click one to load a sample.
  • Open File: opens a file from your computer.
  • Templates: ready-made ToDiagram documents you can edit, such as an org chart, a system architecture, a user flow, a mind map, a project roadmap, a state machine and an entity relationship diagram.

You can also drop a file anywhere on the editor to open it in a new tab.

On this page