Request for Feedback: Invocation Tree – A Python Visualization Tool for Recursion

Hi everyone,

I’ve been working on invocation_tree, a Python package designed to visualize the Python call tree in real time. It’s main purpose is to help explain recursion, a concept beginners often struggle with. You can find my recursion explanation here. I hope the visualization gives an intuitive representation of the depth-first nature of recursion as the learner steps through his/her program, either in their favorite IDE, or in the Invocation Tree Web Debugger. See this live Quick Sort demo in the Web Debugger.

I’d love to hear your thoughts on its utility and any suggestions for improvement. If you have a moment to try it or share your perspective, I’d greatly appreciate it.

Thank you in advance for your feedback!

permutation_wd

2 Likes