Code view and Mermaid
Every flow is a plain Mermaid sequenceDiagram text. In the code view (⌘ 2) you write that text directly; the visual editor and the preview update immediately.

Why plain text?
- Flows open in every Mermaid tool: GitHub, GitLab, Notion, Confluence, Obsidian…
- They fit in version control and diff line by line.
- If you ever leave sysgraph, you lose nothing.
Example
sequenceDiagram
title Place order
autonumber
actor C as Customer
participant W as Web store
participant O as Order Service
C->>W: Complete the order
W->>O: POST /orders
alt Out of stock
O-->>W: 409 Out of stock
else Order created
O-->>W: 201 Created
endsysgraph markers
Catalog, role, endpoint, decision and flow links travel in %% comment lines that Mermaid ignores, so a flow opens unchanged in other tools:
%% @item s-order
%% @role s-r-service
participant O as Order Service
%% @ep s-ep-order-create
W->>O: POST /ordersFull list: Mermaid markers.
Importing
The Import button on the Flows screen or in the flow bar opens .mmd, .mermaid, .md and .txt files as new flows. Dragging a file onto the editor does the same.
Errors
When there is a syntax error the preview shows the last successful drawing faded and an error message appears; the code view marks the faulty line. The diagram check catches some cases Mermaid would fail on (e.g. deactivating something that was never activated) before they happen.