Sign inSign up

beejay/diagrams

By beejay

Updated over 4 years ago

Image
0

77

beejay/diagrams repository overview

Assume you have the following diagrams definition in the diagram.py file

# diagrams.py
from diagrams import Diagram
from azure.compute import FunctionApps
from diagrams.aws.compute import EC2
from diagrams.aws.database import RDS
from diagrams.aws.network import ELB
from diagrams.generic.os import OS

with Diagram("MyDiagram", show=False):
    FunctionApps("V1") >> EC2("web") >> RDS("userdb")

After that, you must only run docker run -it diagrams diagrams.py

When the execution is complete, you will find your generated image in the same location as "MyDiagram.png". So it use the diagramname itself.

Tag summary

Content type

Image

Digest

Size

88.2 MB

Last updated

over 4 years ago

docker pull beejay/diagrams:v1