https://github.com/mingrammer/diagrams Skip to content Sign up * Product + Features + Mobile + Actions + Codespaces + Copilot + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Skills + GitHub Sponsors + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} mingrammer / diagrams Public * Notifications * Fork 1.3k * Star 22.3k Diagram as Code for prototyping cloud system architectures diagrams.mingrammer.com License MIT license 22.3k stars 1.3k forks Star Notifications * Code * Issues 207 * Pull requests 79 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights mingrammer/diagrams This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 7 branches 36 tags Code Latest commit @mingrammer mingrammer bump: up to version 0.21.1 ... eaf3e98 Feb 9, 2022 bump: up to version 0.21.1 eaf3e98 Git stats * 446 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github Setup dependabot. (#387) Dec 3, 2020 assets/img fix: resize logo Feb 2, 2020 diagrams feat(output): Generate dot file and support multi outformat.(#441) Re (... Feb 9, 2022 docker/dev feat(dev/docker): update to use latest stable python 3 (#476) Mar 6, 2021 docs feat(output): Generate dot file and support multi outformat.(#441) Re (... Feb 9, 2022 resources feat(provider): added DigitalOcean provider (#621) Jan 22, 2022 scripts feat(provider): added DigitalOcean provider (#621) Jan 22, 2022 templates docs: add more visibility to Custom node (#284) (#424) Jan 5, 2021 tests feat(output): Generate dot file and support multi outformat.(#441) Re (... Feb 9, 2022 website docs(website): update docs Jan 22, 2022 .gitignore Add programming languages and frameworks (#112) May 17, 2020 CHANGELOG.md docs(changelog): update PR links Aug 27, 2020 CONTRIBUTING.md docs(contributing): add black tool requirement for autogen.sh (#434) Aug 21, 2021 DEVELOPMENT.md docs: add mac dev guide (#576) Jan 21, 2022 LICENSE license: create LICENSE.md Feb 11, 2020 README.md docs(readme): update badges Jan 22, 2022 autogen.sh feat(provider): added DigitalOcean provider (#621) Jan 22, 2022 config.py feat(provider): added DigitalOcean provider (#621) Jan 22, 2022 poetry.lock chore(deps): bump graphviz from 0.17 to 0.19.1 (#635) Jan 21, 2022 pyproject.toml bump: up to version 0.21.1 Feb 9, 2022 View code [ ] Diagrams Providers Getting Started Examples Contributing Who uses it? Other languages License README.md diagrams logo Diagrams license pypi version python version Run tests todos contributors Buy Me A Coffee Diagram as Code. Diagrams lets you draw the 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 as well. Diagrams currently supports main major providers including: AWS, Azure, GCP, Kubernetes, Alibaba Cloud, Oracle Cloud etc... It also supports On-Premise nodes, SaaS and major Programming frameworks and languages. Diagram as Code also allows you to track the architecture diagram changes in any version control system. NOTE: It does not control any actual cloud resources nor does it generate cloud formation or terraform code. It is just for drawing the cloud system architecture diagrams. Providers aws provider azure provider gcp provider ibm provider kubernetes provider alibaba cloud provider oracle cloud provider openstack provider firebase provider digital ocean provider elastic provider outscale provider on premise provider generic provider programming provider saas provider Getting Started It requires Python 3.6 or higher, check your Python version first. It uses Graphviz to render the diagram, so you need to install Graphviz to use diagrams. After installing graphviz (or already have it), install the diagrams. macOS users can download the Graphviz via brew install graphviz if you're using Homebrew. # using pip (pip3) $ pip install diagrams # using pipenv $ pipenv install diagrams # using poetry $ poetry add diagrams You can start with quick start. Check out guides for more details, and you can find all available nodes list in here. Examples Event Stateful Advanced Web Service Processing Architecture event stateful advanced web service with processing architecture on-premise You can find all the examples on the examples page. Contributing To contribute to diagram, check out contribution guidelines. Let me know if you are using diagrams! I'll add you in showcase page. (I'm working on it!) :) Who uses it? GitPitch is the perfect slide deck solution for Tech Conferences, Training, Developer Advocates, and Educators. Diagrams is now available as a dedicated Cloud Diagram Markdown Widget so you can use Diagrams directly on any slide for conferences, meetups, and training. Cloudiscovery helps you to analyze resources in your cloud (AWS/GCP/ Azure/Alibaba/IBM) account. It allows you to create a diagram of analyzed cloud resource map based on this Diagrams library, so you can draw your existing cloud infrastructure with Cloudiscovery. Airflow Diagrams is an Airflow plugin that aims to easily visualise your Airflow DAGs on service level from providers like AWS, GCP, Azure, etc. via diagrams. Other languages * If you are familiar to Go, you can use go-diagrams as well. License MIT About Diagram as Code for prototyping cloud system architectures diagrams.mingrammer.com Topics graphviz diagram architecture diagram-as-code Resources Readme License MIT license Stars 22.3k stars Watchers 332 watching Forks 1.3k forks Releases 35 v0.21.1 Latest Feb 9, 2022 + 34 releases Contributors 104 * @mingrammer * @gabriel-tessier * @nlamirault * @dependabot[bot] * @yu-iskw * @guyzyl * @leandrodamascena * @Slach * @mandalae * @hagaishapira * @guycla + 93 contributors Languages * Python 94.9% * JavaScript 3.7% * Other 1.4% * (c) 2022 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.