# Flow Diagram: Diagram element for AI agents

> Show a simple left-to-right workflow of 3-5 stages with icons, ending on the highlighted outcome

Canonical page: https://agentframes.ai/elements/clay-ink/flow-diagram/
Markdown: https://agentframes.ai/elements/clay-ink/flow-diagram.md

## Overview

- Name: Flow Diagram (`flowDiagram`), an element: one HyperFrames block per size
- Part of: the [Clay & Ink](https://agentframes.ai/packs/clay-ink.md) pack (25 of 48). Available only through the All-access subscription.
- Category: Diagram
- Purpose: Show a simple left-to-right workflow of 3-5 stages with icons, ending on the highlighted outcome
- Pack: [Clay & Ink](https://agentframes.ai/packs/clay-ink.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on ivory paper (`w`), warm ink (`k`), clay (`o`); avoid none
- Typical duration: 4s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/clay-ink/flow-diagram.mp4
- Poster: https://agentframes.ai/media/clay-ink/flow-diagram.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Clay & Ink pack. Add a `flowDiagram` beat to plan.json on a `w` canvas with slots `title` and `nodes` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | Title | Plain text. Wrap the ONE accent word in *stars*. | From inbox to *done*, automatically |
| `nodes` | json | Nodes | JSON; keep the same shape as the default. | [["mail","New email"],["brain","Claude reads it"],["doc","Drafts a reply"],["check","You approve"]] |

## What your agent can change

### Surface

Show a simple left-to-right workflow of 3-5 stages with icons, ending on the highlighted outcome. Set: `explainer`. Category: `overview`. Canvases: ok `w, k, o`. Typical 4s; settles at 2.6s.

### Editable (fill through plan.json `slots`)

- `title` (string). Plain text. Wrap the ONE accent word in *stars*.
- `nodes` (json) **EXAMPLE DATA: replace or get client sign-off**. JSON; keep the same shape as the default.

### Protected

Do not change the motion, easing, timing, the palette roles (colours come from frame.md → tokens.css), fonts, or the element's internal layout. Keep copy close to the default length (±30%) so it fits.

### Safe editing

Set values in the beat's `slots` in plan.json, run `tools/validate.mjs`, rebuild, and check `qa/contact.jpg`. Never hand-edit the generated index.html or this element's code for a single video.

## FAQ

### What can my AI agent change in Flow Diagram?

Your agent fills the `title` and `nodes` slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Clay & Ink look.

### Which aspect ratios does Flow Diagram support?

Flow Diagram is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 4s.

### How do I get Flow Diagram?

Flow Diagram is included in the Clay & Ink pack, which is part of the AgentFrames All-access subscription along with 47 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Clay & Ink

- [Petal Wheel](https://agentframes.ai/elements/clay-ink/petal-wheel.md): Hub diagram: one idea at the centre with 3-8 related labels around it, one highlighted
- [Cycle Loop](https://agentframes.ai/elements/clay-ink/cycle-loop.md): Show a repeating process of 3-5 steps as a loop (iterate, feedback, flywheel)
- [Level Ladder](https://agentframes.ai/elements/clay-ink/level-ladder.md): Show a maturity or skill ladder of 3-6 levels and mark where the viewer (or product) sits
- [Numbered Steps](https://agentframes.ai/elements/clay-ink/numbered-steps.md): Explain a short process: a headline plus 3-5 numbered steps that rise in order along a drawn track

## Community

Coming soon.
