3 ms·
Python recursion visualization with rcviz
- omegote 12y agoWow, this is pretty cool. I like how elegant the usage of it is, just decorate the functions and then render the graph. It'd be great to have more export options. For instance, getting the raw .dot source would be great.
- ColinWright 12y agoFrom the doc[0]: The output file type is derived from the file name. Supported types include .dot (graphviz dot file), .png (png image), .svg (vector graphic) [0] https://github.com/carlsborg/rcviz https://github.com/carlsborg/rcviz
- sitkack 12y agoAttach this to code dynamically with `sys.settrace()`