nwdiag generates network-diagram image file from .diag file. .diag file is similar to DOT file (graphviz’s).
You can get diagrams like this.
And, nwdiag package includes rackdiag which generates rack-structure diagram images.
Demo - interactive shell for actdiag
Introduction of nwdiag
Enter search terms or a module, class or function name.