I have a python function and I want to see the flow or the structure of my code as a graph. I know that it is possible in C/C++ using Graphviz. But I am not aware of a similar tool for python.
I have a python function and I want to see the flow or the structure of my code as a graph. I know that it is possible in C/C++ using Graphviz. But I am not aware of a similar tool for python.
Same tool exists for Python, it can also be easily installed via pip by typing pip install graphviz "or Alternative downloading methods"
Here is a simple documentation with many examples that may help you as well. Link.