r/IPython • • Jul 26 '15

interactive graph visualization in ipython. what libraries have worked well for you?

(By graph, I mean nodes-and-edges.)

Here's some things I've found. Looking for other libraries and others' recommendations.

http://patrick-fuller.com/igraph/examples/ipython.html

https://github.com/tkf/ipython-hierarchymagic

7 Upvotes

2 comments sorted by

View all comments

2

u/PattimusPrime Jul 26 '15

I wrote the igraph one as a teaching tool. It doesn't have the features of a full graph lib, but basic visualization is really easy. If you have any questions about it, let me know!

1

u/throwpillo Jul 27 '15

This is a really cool, easy-to-learn library. Thanks for making it.

Because the input is a pure Python data structure, you can programmatically create and edit graphs without learning a new API. This lets you mess around with graph data structures and algorithms without thinking about library-specific semantics.

Very cool.

The examples -- at least the ones I could find -- don't seem to have node- or edge-labeling. Is that possible in iPython?