Hacker News new | ask | show | jobs
by madelyn 1394 days ago
I ended up doing this for our python codebases at work.

The AST module was super handy as you'd expect. The script would optionally take some filters to reduce the size of the generated graph, and then it sent all the info to Graphiz (it emitted DOT, too, so it could be version controlled!!)

It was extremely fun, highly recommended.