Diagrams (mingrammer)
Leading#3 in Open sourcehigh confidence
The leading diagram-as-code library for cloud/system architecture (~42.5k★) — draw AWS/GCP/Azure/Kubernetes architecture from Python.Our read
Why it ranks #3
The leading Python cloud-architecture library at ~42.5k GitHub stars and the dedicated Python pick in 2026 diagram-as-code comparisons, with documented use in projects such as Apache Airflow.Here is the catch
requires Python plus a separate Graphviz installation
limited to architecture/infrastructure rather than sequence, ER or general flow diagrams
automatic layout offers little precise node placement or interactive editing
Does this well
excellent provider-icon coverage for cloud and infrastructure diagrams
Python makes diagrams programmable from configuration or loops
diagram source versions cleanly beside infrastructure code
Pricing
Checked by hand on 2026-07-23. Prices in this category change often — if this looks wrong, it probably is.
Key features
Python-defined architecture diagramsAWS, Azure, GCP and Kubernetes icon setsclusters and directional relationshipsGraphviz image rendering
Sources we read
Quick facts
More in this area
The rest of the Open source column.- 1MermaidThe de-facto text-to-diagram standard (~89.4k★) — natively rendered in GitHub/GitLab Markdown, making it the default diagram-as-code format agents produce for architecture, flow and sequence diagrams.
- 2ExcalidrawThe dominant open-source virtual whiteboard (~128.3k★) — hand-drawn aesthetic, hugely used for freeform architecture sketches and system diagrams.
- 4D2Fast-rising modern diagram scripting language (~24.8k★) — cleaner syntax than PlantUML with strong automatic layout.
- 5tldrawInfinite-canvas whiteboard SDK (~49.2k★) — the toolkit developers build collaborative diagramming apps on.
- 6PlantUMLThe long-standing text-to-UML workhorse (~13.2k★) — most complete UML coverage, ubiquitous in enterprise toolchains despite dated visuals.
- 7C4-PlantUMLThe standard way to render C4-model software architecture diagrams as code (~7.4k★) — the go-to for C4 + text.