Open Diagram
Architecture diagrams that check their own layout — a short Python script in, a clean SVG out, and the build catches the overlaps.
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.