component lab
Components
Data & visualization

MermaidDiagram

Flowcharts, sequence and state diagrams written as text, drawn in the site’s own type and colors in light and dark mode.

flowchart / parallel agents

The diagram renders only when it scrolls into view — a spinner holds the spot until then.

Two agents, two worktrees, zero collisions
sequence / who talks to whom

Participants, messages and notes in the same type and hairline strokes as the rest of the site.

How a diagram reaches the page
state / the life of a PR

State machines, with transition labels set in mono.

From draft to merged
narrow column / re-flows

When a left-to-right chain can’t fit without shrinking its text, it’s drawn top to bottom instead. Only diagrams that truly can’t fit scroll sideways, and they open on their starting node, not on a box cut in half.

One agent turn