Description
Diagrams is a Python library for drawing cloud system architecture diagrams as code. You write a short Python script and it produces the diagram, so the picture can live in version control next to the rest of your project and its changes can be tracked. It was built for prototyping a new system architecture without a design tool, and it can also document an existing one. It includes nodes for the major cloud providers, among them AWS, Azure, GCP, Kubernetes, Alibaba Cloud and Oracle Cloud, plus on-premises nodes, SaaS services and common programming frameworks and languages. The project is explicit about its limits: it does not control any real cloud resources and does not generate CloudFormation or Terraform code. It only draws diagrams. The site offers a Try It Out section, a guides section, a node reference and examples, and the source is on GitHub at mingrammer/diagrams.…
Highlights
- Draw architecture diagrams in Python code
- Node icons for AWS, Azure, GCP, Kubernetes and more
- On-premises, SaaS and framework nodes
- Diagrams tracked in version control
- Guides, node reference and examples
Ratings & Reviews
No ratings yet
Be the first to rate Diagrams.
People also visit
Diagrams FAQ
What is Diagrams?
A Python library for drawing cloud system architecture diagrams from code. You describe the architecture in a script and the diagram is generated from it.
Does it manage my cloud resources?
No. It does not control any actual cloud resources and does not generate CloudFormation or Terraform code. It only draws diagrams.
Which providers are supported?
The major ones, including AWS, Azure, GCP, Kubernetes, Alibaba Cloud and Oracle Cloud, plus on-premises nodes and SaaS services.
How do I try it without installing?
The site has a Try It Out section where you can explore the examples.
Why draw diagrams as code?
Because the diagram is a script, its changes can be tracked in any version control system, and it can be edited like other code.
Where is the source code?
On GitHub at mingrammer/diagrams.
What are the best Diagrams alternatives?
Popular alternatives to Diagrams include CloudSkew, Datadef and Rover. See all Diagrams alternatives








