Back to list

Open Diagram

Architecture diagrams that check their own layout — a short Python script in, a clean SVG out, and the build catches the overlaps.

小雪球
Author
@小雪球
Project ShowcaseDeveloper ToolsOnlineclaude-code
0
0

Project intro

Open Diagram is a small Python library for drawing dense architecture diagrams — the kind with dozens of boxes, arrows and labels that usually come out crooked. You describe panels, tiles, lines and groups in a short script, and it measures every label from the font, places the blocks, and checks the result. The output is an SVG and a PNG. It has 367 stars and 27 forks on GitHub.

The part that makes it different is the checking. If two panels sit too close together or a line runs through a panel, the build fails and tells you exactly what is wrong, by name — for example, that two boxes are only 9 pixels apart when the minimum is 16. Text is drawn as shapes, so the picture looks the same in a browser, PowerPoint or Figma, with or without the font installed.

It was made to be written by a coding agent as well as by people, so there is an MCP server and an agent skill for Claude Code, Cursor and Codex, plus a command line and a GitHub Action. The same blocks draw software systems, release pipelines, layered stacks, data models and business processes, and it can import Mermaid flowcharts or read a diagram from JSON. Install it with pip install open-diagram.

The project is brand new — first published on 18 November 2026 — and it is moving daily, with a docs site and gallery at open-diagram.dev. It is free under the MIT license, and the whole thing is open source, so if a diagram type is missing, you can add it yourself.

Actions

Visit project URL

Tech stack

python

Project info

Project category
Developer Tools
Project status
Online
Collaboration intent
None

Comments (0)

ME
0/1000
Loading comments...