flow
GraphFlow
A process drawn along dashed arrows. Write one line per path with the steps separated by →, and bold the step you're on. For a dated list use Timeline, and for a schedule use Gantt.
- use it
- Good for a pipeline, a request path, or walking through a change.
optimistic ui
tap
server
update
tap
update
server syncs
<GraphFlow title="OPTIMISTIC UI">
tap → server → update
tap → **update** → *server syncs*
</GraphFlow>install
command
publish path
write
review
ship
<GraphFlow title="PUBLISH PATH">
write → review → ship
</GraphFlow>| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| rows | FlowRow[] | — | Each row is a sequence of nodes. Optional when children are Markdown. |
| children | Markdown | — | request → **middleware** → handler |
| palette | "mono" | "duo" | "multi" | "mono" | mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents. |
| corner | string | "+" | Character at each corner of the frame. |
| frame | "box" | "corners" | "rule" | "none" | "box" | box draws the dashed border. corners keeps only the corner marks. rule draws dashed lines above and below. none drops the border and padding, and puts the title above the content. |
| className | string | — | Passed to the outer frame. |