ast stuff tomorrow and see if I can try and get a rudimentary version of what you have working with pygraph.
For mine I wrote a python script walking through the ast of a python project to generate the graph, so that I had a graph on hand I could use to build and test the visualizer.
Last time I worked on it I started implementing the package for the vscode extension and wrote some typescript code to build a graph for typescript/javascript files. It is still very barebones but I managed to get the basic extension set up working. Haven't worked on it in a while though.
If you want I can dm you the git repo and the .io with the frontend