Diagrams lets you draw the cloud system architecture in Python code.
References:
Documentation - https://diagrams.mingrammer.com/docs/getting-started/installation
Graphviz
sudo apt install graphviz
Diagrams - inside virtual environment
pip install diagrams
-
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.
-
Create a python script arch.py
-
Generate the image
python arch.py
The image gets generated in the current working directory
-
You can use assgn02.py as a reference to built your architecture diagram for assignment2. Please modify as per your implementation.