mingrammer/diagrams

:art: Diagram as Code for prototyping cloud system architectures

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 28 minutes ago
Added to GitGenius on August 31st, 2026
Created on February 2nd, 2020
Open Issues & Pull Requests: 388 (+0)
Number of forks: 2,733
Total Stargazers: 42,571 (-2)
Total Subscribers: 401 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.7 days
Mean response time: 105.6 days
90th percentile: 291.7 days
Tracked items: 75

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 4% of issues opened in the past year have been closed. Three people close 69% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 48
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 928 days
Stale 30+ days: 40
Stale 90+ days: 37

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 1

Top labels

  • help wanted (5)
  • question (5)
  • status/need-to-review (5)
  • area/provider/aws (4)
  • area/provider/azure (3)
  • bug (3)
  • enhancement (3)
  • kind/feature (3)

Most active issues this week

Detailed Description

Diagrams is a Python library that lets you draw cloud system architecture diagrams by writing code instead of using graphical design tools.

The tool solves the problem of documenting and prototyping cloud architectures without requiring specialized diagramming software. You write Python code that describes your system components and their relationships, and Diagrams renders the output using Graphviz. This approach makes architecture diagrams versionable alongside your codebase and enables rapid iteration during the design phase. The library includes built-in support for major cloud providers including AWS, Azure, GCP, Kubernetes, Alibaba Cloud, and Oracle Cloud, as well as on-premises infrastructure, SaaS applications, and programming frameworks.

Diagrams suits teams that want to treat infrastructure documentation as code and maintain it in version control systems. It works well for prototyping new architectures and visualizing existing systems, particularly in organizations already comfortable with Python. The tool is explicitly not a cloud resource controller and does not generate infrastructure-as-code templates like CloudFormation or Terraform; it is purely for creating visual diagrams. An online playground is available for trying the tool without installation.

The project maintains steady activity with regular updates addressing bug fixes and feature additions. Development includes ongoing expansion of provider support and refinement of the rendering pipeline. The maintainer actively engages with the community through issue responses and incorporates user feedback into releases.