# Write a diagram as code and render it for a doc, README or PR (slim)

> Write a diagram as code and render it for a doc, README or PR: 3 companies fully do it, 8 with a limit, 18 carry the tag. Every listing in Diagramming with the reason and a source.

- Full: https://www.anchorterminal.com/niches/diagramming.render-as-code/index.md (~1,550 tokens) · this version ~330 tokens · JSON https://www.anchorterminal.com/niches/diagramming.render-as-code/index.json · canonical https://www.anchorterminal.com/niches/diagramming.render-as-code/
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-15
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

Two or three companies' docs show a full fit. Full fit: 3 companies, with a limit: 8, tagged: 18. Weight 22, 11 accounts.

Done when: Diagram source committed or embedded as text, plus an SVG or PNG that renders without a parse error and shows every node and edge in the source, produced from the source alone.
yes: d2 (The Hack Foundation (Hack Club), fiscal sponsor of the D2 project)
yes: kroki (Yuzu tech, a French software firm. No registered legal form found)
yes: mermaid-chart (Mermaid Chart Inc.)
caveat: ai-diagram-maker-mcp (AI Diagram Maker (Rajasekar Elango))
caveat: drawio (draw.io Ltd)
caveat: eraser (Eraser Labs, Inc.)
caveat: excaliclaw (ExcaliClaw)
caveat: excalidraw (Excalidraw s.r.o.)
caveat: lucid (Lucid Software Inc.)
caveat: plantuml (No legal entity found. Copyright Arnaud Roques)
caveat: structurizr (Structurizr Limited)

Data: https://www.anchorterminal.com/api/v1/use-cases/diagramming.render-as-code.json
