Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
mingrammer 148b898c8d docs: add horizontal paddings 4 år sedan
assets/img fix: resize logo 4 år sedan
diagrams feat: add custom node class (#25) 4 år sedan
docs feat: add custom node class (#25) 4 år sedan
resources feat: add icon set for Oracle Cloud Services. (#20) 4 år sedan
scripts fix: use if instead of elif 4 år sedan
templates feat: docs auto generation 4 år sedan
tests feat: initial commit 4 år sedan
website docs: add horizontal paddings 4 år sedan
.gitignore chore: update .gitignore 4 år sedan
CONTRIBUTING.md feat: initial commit 4 år sedan
LICENSE license: create LICENSE.md 4 år sedan
README.md feat: add icon set for Oracle Cloud Services. (#20) 4 år sedan
autogen.sh feat: add icon set for Oracle Cloud Services. (#20) 4 år sedan
config.py feat: add icon set for Oracle Cloud Services. (#20) 4 år sedan
poetry.lock feat: initial commit 4 år sedan
pyproject.toml bump: up to version 0.5.0 4 år sedan

README.md

diagrams logo

Diagrams

license pypi version python version

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 six major providers: AWS, Azure, GCP, Kubernetes, Alibaba Cloud and Oracle Cloud.

Diagram as Code also allows you to tracking 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 just for drawing the cloud system architecture diagrams.

Getting Started

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

Grouped Workers on AWS Stateful Architecture on k8s Event Processing on AWS
grouped workers stateful architecture event processing

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!) :)

License

MIT