Introducing Diagrams: Diagram as Code

Build cloud architecture diagrams without leaving your IDE

Feb 3 · 2 min read
Photo by Donna Lay on Unsplash

I’ve built an infrastructure diagram drawing library. You can see it on GitHub and this website.

Diagrams let you draw a cloud system architecture in Python code. It was born for prototyping a new system architecture design without any design tools.

You can also describe or visualize the existing system architecture. Diagrams currently supports these major five providers: AWS, Azure, GCP, Kubernetes, and Alibaba Cloud.

Diagram as Code also allows you to track the architecture diagram changes on any version control system.

Note: It does not control any actual cloud resources nor generate cloud formation or terraform code, but only for drawing cloud system architecture diagrams.

You can start with this quick start. You can go to the guides for more details.

Here are some examples:

You can find all the examples on the examples page.

Thank you!

Better Programming


Written by

I love computer science, automation and mathematics.

Better Programming

Advice for programmers.

More From Medium

More from Better Programming

More from Better Programming

More from Better Programming

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade