A while back I shared the network diagram from my homelab repo, https://github.com/mortennordbye/homelab, and I want to show it again because it has become one of the things I use most. Both in the homelab and in my day job as a platform engineer, where I now draw client platforms the same way.
It's a .d2 text file in the repo. A GitHub Action renders it on every push and commits the image back, so it can't drift from what actually runs. The icons are pulled at render time, so there are no image files to maintain.
I also wrote a small guide if you want to try it yourself, https://docs.nordbye.it/architecture/diagrams/
submitted by