open-diagram
Python building blocks for dense architecture diagrams that check their own layout
- ai-agents
- architecture-diagrams
- claude
- diagrams
- diagrams-as-code
- python
- svg
- Stars
- 350
- Forks
- 27
- + today
- +1
- Created
- 6d
Ranking data as of November 24, 2026 (UTC).
Star History
Today, hour by hour
Overview
Python building blocks for dense architecture diagrams that check their own layout It ranks #3963 on GitTiger, gaining +1 star on November 24, 2026 (UTC).
The project is written in Python and has 27 forks. It was created 6d ago.
What it is
A Python toolkit for drawing dense architecture diagrams — the kind that pack many boxes and labels — where the layout is checked before output. The licence is MIT.
How it handles layout
Three ideas come through in the README preview. Every label is measured before placement, with widths taken from the font's own spacing and kerning, so a box always fits its text. Text is converted to vector shapes, which means the resulting SVG renders identically in a browser, PowerPoint, Keynote or Figma whether or not the typeface is installed; Inter ships with the project. And copy is kept apart from geometry: labels live in lists at the top of the script, so rewording does not require moving anything by hand.
Getting started
No install commands appear in the supplied excerpt, so check the README. The tags pair it with AI agents, Claude and diagrams-as-code, which suggests it is meant to be driven by a coding assistant rather than clicked together in a design tool.
git clone https://github.com/lukendeasy/open-diagram.git
cd open-diagram
# see README for setupFrequently Asked Questions
What output format does open-diagram produce?
SVG. The README preview notes that text is drawn as shapes so the file looks the same in browsers, PowerPoint, Keynote and Figma.
Do I need the Inter font installed?
No. Inter is bundled with the project, and because labels are drawn as vector shapes the fonts on the viewing machine do not matter.
Is it a diagram editor?
It is presented as Python building blocks written at the code level, not an interactive editor; layout checking happens in the script.