sysgraph Docs
Flows

Visual editor

The flow editor has three parts: the palette (participants and steps), the step list (the visual form of the flow) and the preview (the Mermaid drawing). Whatever you do, the preview updates immediately.

The editor: palette, steps and live preview
The editor: palette, steps and live preview

Flow bar

The flow bar above the editor holds:

  • The flow's name: click to rename it.
  • Visual / Code: switch between the two views (⌘ 1 and ⌘ 2).
  • Decisions and projects: the decisions related to this flow and the open projects affecting it.
  • AI: create, update, review and explain the flow (AI).
  • Version history, export, import and share buttons.
  • In the cloud: other members on the flow and the editing lock (Collaboration).

Palette

The palette appears as a strip above the editor or as a vertical list on the left (Settings › Preferences › Palette position). It contains:

  • Catalog & roles: search the systems and roles in your catalog and add them as participants.
  • Participant types: user / human, service / component, system boundary / UI, controller / orchestrator, domain object, database, multiple instances, queue / broker.
  • Flow steps: message, reply, note, reference, decision, activation, If / Else, Loop, Opt, Parallel, Critical, Break, Highlight and raw code.

Click an item to append it to the end of the flow; drag it to drop it exactly where you want. The palette can be compacted to a single row or collapsed to icons only.

Participants

Participant cards line up above the flow:

  • Reorder: drag a card.
  • Edit: click a card. The panel holds the name, short name (Mermaid id), type, role, color and catalog link.
  • Draw a message: drag the handle on the right of a card onto another card.
  • Link to the catalog: Save to catalog or Pick from catalog… in the panel.

A participant that comes from another workspace (shared in the organization) shows a badge with that workspace's name. See Organizations.

Steps

The step list shows the order of the flow. Each row is a message, a note or a block:

  • Drag the handle (⋮⋮) to move a step, into or out of blocks.
  • Alt + ↑ / ↓ moves the selected step up / down.
  • ⌘ D duplicates the selected step; Delete removes it.
  • ⌘ Z undoes, ⌘ ⇧ Z redoes.

Details of each step type: Steps and blocks.

Preview

  • Click a message in the preview to jump to that step in the editor.
  • ⌘ or Ctrl + wheel zooms; drag an empty area to pan.
  • F toggles full screen, P opens presentation mode (Presenting, export and sharing).
  • The ⚠ badge in the header lists possible issues (Diagram check).
  • The header also sets the Mermaid theme, the Legend (roles and arrow colors in use) and Footer actors (repeat participants at the bottom). These are shared workspace settings; only the owner changes them.

Visual and code views

In the Visual view you work with the palette. In the Code view you write the Mermaid text directly; both sides are always in sync. The code view highlights syntax and marks the line with an error. See Code view and Mermaid.

Tip

⌘ B collapses the editor so the preview uses the whole area — handy when reading long flows.