I have objects which have an attribute containing a list of references to other objects (basically a network data structure). For debugging I'd like to see how objects are referenced.
Do you know a tool that can display this graphically?
(Reposting as an answer)
objgraph ( http://mg.pov.lt/objgraph/ ) uses Graphviz to render graphs (as in networks, not plots) of Python objects. (On PyPI). It works with Python 2 or 3. Its homepage has several examples of how to use it.
I don't know of any alternatives, but I haven't spent long looking.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With