you might be able to hack something together with ...
# spicedb
y
you might be able to hack something together with the watch service and graphviz?