# API Reference


## Call trees


Build the call tree of a function, a folder of source files, or a Shiny app.


[call_stack()](call_stack.md#callgrove.call_stack)  
Build the call tree of a function from its source, without running it.

[call_tree_dir()](call_tree_dir.md#callgrove.call_tree_dir)  
Build the call tree of the functions defined in a folder of `.py` files.

[call_tree_app()](call_tree_app.md#callgrove.call_tree_app)  
Build the call tree of a Shiny for Python `App` object.


## Tree object


The node every builder returns, and how it prints.


[CallTree](CallTree.md#callgrove.CallTree)  
One node of a call tree: a function name and the calls it makes.
