At The Walt Disney Company I built a System Map component in the Apex platform that shows the real-time health of every connected device on the network. I designed the graph algorithm that parses device responses and maps each node's upstream and downstream position, and the leader lines operators use to trace dependencies at a glance.
That code is private. This is a clean-room public version of the same idea, with invented services, hosts and numbers, so the approach can be read and run.