Create diagrams instantly using only JSON. Describe what you need to any AI, get a JSON back, and paste it in β your diagram appears in seconds.
Perfect for rapid documentation, architecture overviews, presentations, and anything where you need a clear visual fast.
- Click Schema to copy the JSON spec to your clipboard
- Paste it into any AI (Claude, ChatGPT, etc.) and describe the diagram you need
- Copy the generated JSON and import it β your diagram appears instantly
No drag-and-drop marathon. No manual alignment. Just describe β generate β done.
- JSON-driven β define your entire diagram as a clean JSON structure
- 8 node types β process, decision, database, service, pipeline, input, output, and text
- Clusters β group related nodes into labeled sections
- Auto-layout β topological algorithm arranges nodes in logical layers automatically
- Live sync β edit visually or via JSON; both stay in sync
- 50+ icons β Lucide icon library built in, assignable per node
- Custom styling β border colors, background colors, dashed borders per node
- Animated edges β connections can be animated or dashed
- Export as PNG β download your diagram as an image
- Dark / light theme β works in both
{
"nodes": [
{
"id": "string",
"type": "process | decision | database | service | pipeline | input | output | text",
"label": "string",
"description": "string (optional)",
"icon": "lucide-icon-name (optional)",
"cluster": "cluster-id (optional)",
"tags": ["string"],
"borderColor": "#hex (optional)",
"bgColor": "#hex (optional)",
"dashedBorder": false
}
],
"connections": [
{
"from": "node-id",
"to": "node-id",
"label": "string (optional)",
"animated": false,
"dashed": false
}
],
"clusters": [
{
"id": "string",
"name": "string",
"color": "#hex (optional)",
"dashedBorder": false
}
]
}git clone https://github.com/fordus/jsonflow.git
cd jsonflow
pnpm install
pnpm dev- Next.js 16 + React 19 + TypeScript
- React Flow β canvas and node rendering
- Tailwind CSS + Radix UI
- Lucide icons
- html-to-image β PNG export
MIT