r/pythontips • u/van_ozy • Feb 21 '20
Searching for a tool to visualize code relationship between functions and classes
I am looking for a tool that visualizes all the connections between functions, classes and objects as a graph or something like a class diagram.
For example, in VScode or any modern IDE you can right-click on a function, class, etc name and see all its references or its definition. I want a tool that visualizes these connections so if F1 is calling F2 in its body I see a F1 as a graph node that points to F2 or something similar to this. Does such a tool exist?
32
Upvotes
7
2
11
u/TechAlchemist Feb 21 '20
Sourcetrail is pretty much exactly that.