Available in a git repository.
Repository: call_graph
Browsable repository: call_graph
Author: W. Trevor King
This script scans a Python file for function dependencies, and generates code for Graphviz dot. See depgraph for scripts to generate dependency graphs between modules.
Originally by Prashantha Ellina, the [script][call_graph] is good for giving you the "short view" for restructuring a single module.
Available in a git repository.
Repository: calibrate_cantilever
Browsable repository: calibrate_cantilever
Author: W. Trevor King
As example, here is the callgraph of my cantilever calibration program
calibrate_cantilever.py
.
$ python construct_call_graph.py -i calibrate_cantilever.py | dot -T png -o call_graph.png