python-hunter icon indicating copy to clipboard operation
python-hunter copied to clipboard

Idea: graphical output

Open ionelmc opened this issue 6 years ago • 1 comments

Use graphviz or something to get call graphs instead of text output.

ionelmc avatar Oct 05 '19 12:10 ionelmc

Use graphviz or something to get call graphs instead of text output.

Yes, this would be a really nice feature. I wrote a custom Action here that's capable of building a call graph, and then wrote some code that renders it via graphviz, it's a bit custom for that specific use-case (it only handles call and return events) but I think it could be made more generic. Maybe it can help as a prototype or starting point.

I've worked with large call graphs in other contexts, and I've seen they can get quite big. I think in addition to graphviz, it would be helpful to produce the graphs in other formats too, and to render them with gephi, holoviews . I think I'm still looking for something that allows the navigation of a graph without bringing all of it into the viewport. Holoviews I've seen has some features that allow bundling graphs which might be useful.

wsdookadr avatar Dec 17 '20 09:12 wsdookadr