I am afraid that there is no perfect tool for comprehensive visualizing your program architecture and its control flow, you should keep them in your head and make your software architecture clean, uniform and predictable.
However there are some tools that can help you.
In Pycharm
you can:
-
view structure and hierarchy of the source code
-
view UML diagram of your classes.
There is also the pycallgraph2
Python
module that can create call graph visualizations for Python
applications. (This is a maintained fork of the discontinued pycallgraph
Python
module)
And there is Codimension
IDE
that has Python
code visualization feature