Skip to content

Latest commit

 

History

History

arch-diag

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Diagrams

Diagrams lets you draw the cloud system architecture in Python code.

References:

Documentation - https://diagrams.mingrammer.com/docs/getting-started/installation

Install dependency

Graphviz

sudo apt install graphviz

Diagrams - inside virtual environment

pip install diagrams

Tutorials

  1. Get familier with the terms

    • Diagrams - Diagram is a primary object representing a diagram.
    • Nodes - Node is a second object representing a node or system component.
    • Cluster - Cluster allows you group (or clustering) the nodes in an isolated group.
    • Edges - Edge is representing an edge between Nodes.
  2. Create a python script arch.py

  3. Generate the image

    python arch.py

    The image gets generated in the current working directory

    image

  4. You can use assgn02.py as a reference to built your architecture diagram for assignment2. Please modify as per your implementation.