I might end up doing that, or just disabling physics when I need to, but still use visjs.
I just had to make a PR today because the node system wont properly resolve size when using icon shapes lol.
I might need with ast stuff tomorrow and see if I can try and get a rudimentary version of what you have working with pygraph. I'd probably have it generate multiple graphs from a view (e.g. module -> class, then click a class to get class -> function, or use hidden edges for some things and put everything in different style groups based on inheritance?).
Would also be cool to keep the GitHub links in place, but instead tie the link with the symbol line number so you get a permalink