How to generate a graph of node-to-node reachability for zwavejs2mqtt

As a Home Assistant and zwavejs2mqtt user, I was a little envious of Hubitat’s topology graph, so I decided to replicate it for myself.

And I’ve decided to make the (simple) source code available to anyone else who’d like to try it:

Just ask zwavejs2mqtt to dump your node information (zwavejs2mqtt Control Panel → Actions → Advanced → Dump → Export) to a json file and feed it into the script. Some experience with python is probably suggested.