Graphviz for Network Visualization
Draw network diagrams from config files
Graphviz package converts dot(.) file based descriptions into graphs. It is not restricted to UML or any specific type of graphs and can be used for automating flowchart and Network diagrams as well. See Wiki
In this case, I am using the tool to convert the Network plan mentioned in the below post into a diagram for easy reference.
On Ubuntu, do “apt install graphviz” and “apt install xdot”
Once package is installed. Run the below commands for generating PDF or PNG files based on your preference.
dot -Tpdf graph1.dot -o graph1.pdfdot -Tpng graph1.dot -o graph1.png
The language is pretty simple, unless you wish to do any fancy stuff, then it would need deeper study, but for network diagrams, understanding one .dot file as mentioned below would be sufficient.
The resultant network plan looks like this:
References:
1. https://www.graphviz.org/doc/info/shapes.html
2. https://renenyffenegger.ch/notes/tools/Graphviz/examples/index