I was looking for a simple solution to display the network map of zigbee2mqtt in hassio without the need of graphviz.
I found the great project viz.js and decided to write a simple custom_component with a service that updates and creates the corresponding files in my www folder.
Copy “custom_components/zigbee2mqtt_networkmap” and content to your “custom_components” folder.
Add the following to your configuration.yaml. It is possible to update the map directly via button. If you want to use this functionality you also have to activate the webhook component
Works for me, although as I’m hosting and accessing hass on two different urls depending on where im accessing from the map only works from one of them.
Going to take a look and see if I can modify your script to call a docker container for graphviz (https://hub.docker.com/r/omerio/graphviz-server/), save that to a local file and use a local camera to show it
Another suggestion (as a laymen) would be the possibility of other layout engines, if that’s even the proper term.
My only real experience with Graphviz is this website. It looks like the network map it produces here is what that site calls the “dot” engine, while the “circo” engine provides a clearer (although more spread out) representation of the network in my opinion.