All pathsFlow path / Diagrams · Writers and technical teams

Diagrams that draw anywhere

Write a diagram as text, read it in either appearance, copy it as a picture, and preview it in a PDF. We tried twenty diagram forms and checked what happens when one cannot draw.

Diagrams — Structures in the Reader: the C4 context diagram laid out for the column, every box and edge label readable

What Flow does

A diagram is text, and text goes everywhere. Now the drawing does too. In Orionfold Flow a diagram is a fenced block of plain text in the document, a flowchart, a sequence, a Gantt, a state machine, a C4 context, twenty forms in all, in the Mermaid syntax that GitHub and most Markdown tools already read. Flow draws it in place as you read. The same drawing appears in dark mode without redrawing, copies to the clipboard as a picture with the document’s own colours, comes out in the published PDF, and is drawn and checked overnight by the document’s Jobs, on this Mac, with no window open. A diagram that cannot draw says so on its card, with the line and column, instead of leaving a blank.

The answer first

  1. Write the diagram as text. In the Editor, a fenced block beginning ```mermaid holds the diagram. It can be flowchart LR, sequenceDiagram, gantt, stateDiagram-v2, C4Context and the rest. The Guide’s Charts Gallery pages show every form with a starter you can copy.
  2. Read it. Switch to Reader. The diagram draws in place, laid out for the width of the page. A drawing wider than the page keeps its words readable and scrolls sideways inside its card.
  3. Copy it as a picture. Hover the drawing and press Copy as image. A PNG with the document’s colours is on the clipboard for Keynote, Slack or mail.
  4. Publish it. File ▸ Publish…, then Show preview. The PDF pages carry the same drawings. Save PDF, EPUB or Word when you are ready.
  5. Let Jobs draw it overnight. A Visualize step in the document’s Jobs now draws and checks its diagram with nothing open; a broken one is refused before it reaches Review Changes, with the line that is wrong.

The job

A writer explaining how a request moves through approval, how four systems talk, or when a launch lands reaches for a diagram. In Flow the diagram has always been text in the document, so it versions, searches and travels with the words. What it could not do until now was leave the window. The drawing existed only while the document was open on screen, so the overnight Jobs that keep a living document current could draw a chart but had to leave a diagram for the morning, and a published page or a copied picture depended on what the page happened to have drawn. The renderer underneath the fence has changed; the text has not. Every diagram you already have draws as it did, laid out a little better for the page it sits in.

In the Reader: twenty forms, laid out for the page

The block diagram on Diagrams: Structures: Example workspace over six components, each label whole

The three Diagrams pages of the Guide carry twenty forms between them, class, entity-relationship, block, requirement, C4 context, architecture, packet; flowchart, sequence, state, Gantt, user journey, kanban; mindmap, timeline, quadrant, sankey, pie, XY chart, git graph. Every one drew. A drawing is laid out for the width it is read in, so the C4 context that used to be drawn at a third of its size now spreads to the column with its labels the same size as the prose. The two forms that are wider than any page, the packet header at 1,035 px and the user journey at 1,276, keep their words at a readable size and scroll sideways in their card, with the same thin bar a wide table shows.

The sankey on Diagrams: Connections: Visitors to Bounced, Signed up and onward, each node labelled with its number

A careful eye will notice two things. On the sankey, two short nodes that share a column have labels that touch, and on the quadrant chart one label straddles the line between quadrants. Both are the renderer’s layout and both are reported upstream; neither hides a word.

In the dark

The same C4 context diagram in dark mode: light ink on the dark canvas, the accent on borders and highlights

Switch the Mac to dark and the drawings follow without being redrawn. The renderer colours only through the document’s own palette, the ink, the soft ink, the accent, the canvas, so a diagram wears the same colours as the prose around it in either appearance.

The block diagram in dark mode

On the clipboard

The kanban board copied as an image: four columns, six cards, the document's ink on white

Hover any drawing and press Copy as image. The picture on the clipboard is the drawing with its colours carried along. Paste it into a deck or a message and it looks as it did on the page, on a white surface.

In the PDF

Publish's PDF preview of Diagrams, Processes, page 2: the approval flowchart drawn in the document's ink

File ▸ Publish… and Show preview. The PDF pages carry every drawing the Reader showed, as vector art, with a figure kept whole on its page. The preview is the same bytes the saved file will hold; nothing is written until you press Save PDF….

When a line is wrong

The refusal probe: three broken fences, each with its source and one line saying what and where

A diagram that cannot draw keeps its text on the card and adds one line in the renderer’s own words: Flow can’t draw this diagram: Line 3, column 8: Expecting ‘NODE_STRING’, got ‘TAGEND’. A form Flow does not draw says Not a diagram Flow draws; an impossible date in a Gantt says Invalid date:2024-13-45. The same words are what a Jobs step reports when an overnight proposal carries a broken diagram, so the morning’s review never opens on a card that cannot draw.

Overnight

The document’s Jobs can draw a diagram with nothing open. A Visualize step that proposes a diagram is drawn and checked in the night’s own renderer, exactly as a chart is, and a proposal that does not draw is refused with its line and column before it reaches Review Changes. The step’s description in the Jobs editor now reads Visualization proposal · drawn, then your review, because that is all it does.

The numbers

FigureValueStatusSource
Diagram forms drawn on the Guide’s three pages20 of 20 (7 + 7 + 6 renders, 0 errors)verifiedthe page’s render counter, read after each page was scrolled
Shipped diagram fences that draw with no window46 of 46verifiedthe gallery’s 20 and the Guide’s 26 rendered in Node and in JavaScriptCore
Time to draw one diagram0.11–5.88 ms in Node; at most 6 ms in JavaScriptCoreverifiedmeasured over the 46 fences
Diagrams that re-lay out for the column19 of 46verifiedrendered at a 688 px width and compared with their natural size
C4 context, natural width1,180 → 484 px at a 688 px columnverifiedthe drawing’s reported size
Size the app’s rendering bundles lost2.1 MB (6.08 MB against 8.19 MB)verifiedthe two app bundles’ resource files, byte counts
Copied picture1360 × 732 PNG for a 680 px cardverifiedthe pasteboard, read back to a file
Time a reader waits for a diagram to appear,unknownnot timed; the Reader schedules a render 300 ms after the text settles
Overnight run drawing a diagram,verified in the suite, not in a live nightthe night renderer’s tests pass; no overnight run was made this day
PDF, EPUB and Word files saved,not donethe PDF preview was read; no file was saved in this walk

More Flow walks

Walked on: Orionfold Flow review builds 0272-2 and 0272-3 (dev, main 83d99b86), macOS 26.6, MacBook Pro M3 Max 36 GB, window 1512×949; walked 2026-10-19 13:59–14:18 PDT, Claude Code driving with the operator away.

Data: The Flow Guide's Charts Gallery (Diagrams — Structures, Connections and Processes, twenty diagram forms on fictional teaching data) cloned into ~/flow-staging; never the operator's real work. The account row is painted over in every shot.

Written by the Flow product team from the walk's own records. Numbers are labelled verified, derived, assumed or unknown.

MORE PATHS

Another job,
walked the same way.

All paths →
Find your work, captured during the walkthrough

Flow 4.0 · Start here

Find your work in Flow 4

People getting started with Flow or returning to an open workspace

Press New, pick a worked example, and open it as your own copy. Tomorrow it is one click away in the sidebar, with your open documents still a tab away.

  1. Press New to open Welcome and Paths
  2. Open a path as your own copy
  3. Come back through the sidebar

$0.00to open a path, no model called

Give your Fold a working memory, captured during the walkthrough

Flow 4.0 · Teach your expertise

Give your Fold a working memory

People who bring the same editorial preferences to several projects

Teach your Fold how you work once. Write it in the Fold’s own files, or start a Chat message with Remember, and Flow carries it into the next brief.

  1. Open Folds and edit About you
  2. Start a Chat message with Remember
  3. Check it with Show, or take it back with Undo

$0.00to save a preference by hand

Share a Playbook, captured during the walkthrough

Flow 4.0 · Every client gets it

Share a Playbook that can keep getting better

Experts who package a repeatable method and the people who use it

A Flow Playbook is your method in a folder that AI can follow. We brought in the free AI Consulting starter, read its license first, and chose which updates to take.

  1. Choose File ▸ New from GitHub…
  2. Read the preview, then press Add
  3. Check for updates and pick what to apply

6 of 6files matched GitHub byte for byte