Search code examples
pythongraphvizpython-sphinx

how to create a caller graph in sphinx for python?


Is it possible to create a caller graph (a graph which funcion calls the function xy) in sphinx ? i know this feature from doxygen (for java) and really liked it.


Solution

  • Sphinx has the capability to incorporate graphviz diagrams with the sphinx.ext.graphviz module.

    If you're looking to generate call graphs, you can run pycallgraph from sphinx and embed the images.