# Network Diagram (BlockDiag) NwDiag (part of Blockdiag) lets you describe network topologies as text, and automatically renders them as network infrastructure diagrams. --- ![Network Diagram](https://help.gocapable.com/images/att1226244206.svg) ``` nwdiag { network dmz { address = "210.x.x.x/24" web01 [address = "210.x.x.1"]; web02 [address = "210.x.x.2"]; } network internal { address = "172.x.x.x/24"; web01 [address = "172.x.x.1"]; web02 [address = "172.x.x.2"]; db01; db02; } } ```