Create diagrams with code using Graphviz
Have you ever had to draw an architecture diagram and found the repetitive clicking and dragging tedious? Did you have to do modifications to that diagram and found it complicated?
Graphviz is an open source graph visualization software that allows us to decribe a diagram using code, and have it automatically drawn for us. If the diagram needs to be modified in the future, we just need to modify the description and the nodes and edges will be repositioned automatically for us.
Drawing graphs
Before we start writing graphs, we need to learn how we can convert our code into an image so we can test what we are doing.