[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1124":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},1124,"diagrams","mingrammer\u002Fdiagrams","mingrammer",":art: Diagram as Code for prototyping cloud system architectures","https:\u002F\u002Fdiagrams.mingrammer.com",null,"Python",42338,2727,402,315,0,26,96,11,45,"MIT License",false,"master",true,[26,27,28,29],"architecture","diagram","diagram-as-code","graphviz","2026-06-12 02:00:23","![diagrams logo](assets\u002Fimg\u002Fdiagrams.png)\n\n# Diagrams\n\n[![license](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg)](\u002FLICENSE)\n[![pypi version](https:\u002F\u002Fbadge.fury.io\u002Fpy\u002Fdiagrams.svg)](https:\u002F\u002Fbadge.fury.io\u002Fpy\u002Fdiagrams)\n![python version](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-%3E%3D%203.9-blue?logo=python)\n![Run tests](https:\u002F\u002Fgithub.com\u002Fmingrammer\u002Fdiagrams\u002Fworkflows\u002FRun%20tests\u002Fbadge.svg?branch=master)\n[![todos](https:\u002F\u002Fbadgen.net\u002Fhttps\u002Fapi.tickgit.com\u002Fbadgen\u002Fgithub.com\u002Fmingrammer\u002Fdiagrams?label=todos)](https:\u002F\u002Fwww.tickgit.com\u002Fbrowse?repo=github.com\u002Fmingrammer\u002Fdiagrams)\n![contributors](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcontributors\u002Fmingrammer\u002Fdiagrams)\n\n\u003Ca href=\"https:\u002F\u002Fwww.buymeacoffee.com\u002Fmingrammer\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Fwww.buymeacoffee.com\u002Fassets\u002Fimg\u002Fcustom_images\u002Forange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" >\u003C\u002Fa>\n\n**Diagram as Code**.\n\nDiagrams 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-Premises` nodes, `SaaS` and major `Programming` frameworks and languages.\n\n**Diagram as Code** also allows you to **track** the architecture diagram changes in any **version control** system.\n\n>  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.\n\n## Providers\n\n![aws provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAWS-orange?logo=amazon-aws&color=ff9900)\n![azure provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAzure-orange?logo=microsoft-azure&color=0089d6)\n![gcp provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGCP-orange?logo=google-cloud&color=4285f4)\n![ibm provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FIBM-orange?logo=ibm&color=052FAD)\n![kubernetes provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FKubernetes-orange?logo=kubernetes&color=326ce5)\n![alibaba cloud provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAlibabaCloud-orange?logo=alibaba-cloud&color=ff6a00)\n![oracle cloud provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOracleCloud-orange?logo=oracle&color=f80000)\n![openstack provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOpenStack-orange?logo=openstack&color=da1a32)\n![firebase provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FFirebase-orange?logo=firebase&color=FFCA28)\n![digital ocean provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDigitalOcean-0080ff?logo=digitalocean&color=0080ff)\n![elastic provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FElastic-orange?logo=elastic&color=005571)\n![outscale provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOutScale-orange?color=5f87bf)\n![on premises provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOnPremises-orange?color=5f87bf)\n![generic provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGeneric-orange?color=5f87bf)\n![programming provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FProgramming-orange?color=5f87bf)\n![saas provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSaaS-orange?color=5f87bf)\n![c4 provider](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FC4-orange?color=5f87bf)\n\n## Getting Started\n\nIt requires **Python 3.9** or higher, check your Python version first.\n\nIt uses [Graphviz](https:\u002F\u002Fwww.graphviz.org\u002F) to render the diagram, so you need to [install Graphviz](https:\u002F\u002Fgraphviz.gitlab.io\u002Fdownload\u002F) to use **diagrams**. After installing graphviz (or already have it), install the **diagrams**.\n\n> macOS users can download the Graphviz via `brew install graphviz` if you're using [Homebrew](https:\u002F\u002Fbrew.sh).\n\n```shell\n# using pip (pip3)\n$ pip install diagrams\n\n# using pipenv\n$ pipenv install diagrams\n\n# using poetry\n$ poetry add diagrams\n```\n\nYou can start with [quick start](https:\u002F\u002Fdiagrams.mingrammer.com\u002Fdocs\u002Fgetting-started\u002Finstallation#quick-start). Check out [guides](https:\u002F\u002Fdiagrams.mingrammer.com\u002Fdocs\u002Fguides\u002Fdiagram) for more details, and you can find all available nodes list in [here](https:\u002F\u002Fdiagrams.mingrammer.com\u002Fdocs\u002Fnodes\u002Faws).\n\n## Examples\n\n| Event Processing                                             | Stateful Architecture                                        | Advanced Web Service                                         |\n| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |\n| ![event processing](https:\u002F\u002Fdiagrams.mingrammer.com\u002Fimg\u002Fevent_processing_diagram.png) | ![stateful architecture](https:\u002F\u002Fdiagrams.mingrammer.com\u002Fimg\u002Fstateful_architecture_diagram.png) | ![advanced web service with on-premises](https:\u002F\u002Fdiagrams.mingrammer.com\u002Fimg\u002Fadvanced_web_service_with_on-premises.png) |\n\nYou can find all the examples on the [examples](https:\u002F\u002Fdiagrams.mingrammer.com\u002Fdocs\u002Fgetting-started\u002Fexamples) page.\n\n## Contributing\n\nTo contribute to diagram, check out [contribution guidelines](CONTRIBUTING.md).\n\n> Let me know if you are using diagrams! I'll add you in showcase page. (I'm working on it!) :)\n\n## Who uses it?\n\n[Apache Airflow](https:\u002F\u002Fgithub.com\u002Fapache\u002Fairflow) is the most popular data workflow Orchestrator. Airflow uses Diagrams to generate architecture diagrams in their documentation.\n\n[Cloudiscovery](https:\u002F\u002Fgithub.com\u002FCloud-Architects\u002Fcloudiscovery) helps you to analyze resources in your cloud (AWS\u002FGCP\u002FAzure\u002FAlibaba\u002FIBM) 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.\n\n[Airflow Diagrams](https:\u002F\u002Fgithub.com\u002Ffeluelle\u002Fairflow-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.\n\n[KubeDiagrams](https:\u002F\u002Fgithub.com\u002Fphilippemerle\u002FKubeDiagrams) is a tool to generate Kubernetes architecture diagrams from Kubernetes manifest files, kustomization files, Helm charts, and actual cluster state. [KubeDiagrams](https:\u002F\u002Fgithub.com\u002Fphilippemerle\u002FKubeDiagrams) supports all Kubernetes built-in resources, any custom resources, and label-based resource clustering.\n\n[AWS CloudFormation Diagrams](https:\u002F\u002Fgithub.com\u002Fphilippemerle\u002FAWS-CloudFormation-Diagrams) is a simple CLI script to generate AWS architecture diagrams from AWS CloudFormation templates.\n\n## Other languages\n\n- If you are familiar with Go, you can use [go-diagrams](https:\u002F\u002Fgithub.com\u002Fblushft\u002Fgo-diagrams) as well.\n\n## License\n\n[MIT](LICENSE)\n","Diagrams 是一个用于绘制云系统架构图的工具，通过 Python 代码实现。其核心功能是让用户能够以编程方式快速创建和修改复杂的系统架构图，支持包括 AWS、Azure、GCP、Kubernetes 和阿里云在内的多种主流云服务提供商。此外，它还兼容本地节点、SaaS 平台以及主要编程框架与语言。Diagram as Code 的理念使得架构图可以像其他源代码一样被版本控制系统管理，方便团队协作及历史追踪。适用于需要频繁迭代设计或文档化现有系统架构的技术项目中，特别是在敏捷开发环境中。",2,"2026-06-11 02:41:48","top_all"]