Graphviz is powerful! It can visualize dependency with input from code, that means we can programmatically generate visual output.
digraph MyGraph { a -> b b -> c a -> d a -> c }
Ref:
https://ncona.com/2020/06/create-diagrams-with-code-using-graphviz/
http://www.webgraphviz.com/
http://magjac.com/graphviz-visual-editor/
https://forum.graphviz.org/