Your opinion about any good Python graph library

34 views
Skip to first unread message

Mathieu Leduc-Hamel

unread,
Oct 8, 2012, 5:48:00 PM10/8/12
to montrea...@googlegroups.com
Hi all !

For my work, i'm searching for a good Python Library to help to build some very nice graph. There's couple of things to know about my needs:

0. should be written in python…. :)
1. The graphs will include more than 75k of nodes
2. I want colors !
3. The beautiful it will be, the happy i'll be cause i'm producing them for our internal needs but for a presentation
4. I would to use something the more pythonic as possible
5. should work on Python2 and linux

Any idea ? what do you think of networkX ? igraph ? Any user stories that you could share ?

Happy Thanksgiving !

P.s. Next montreal-python will be announced soon, stay tune ! :)

--
Mathieu Leduc-Hamel


vahan (aivo)

unread,
Oct 8, 2012, 6:11:02 PM10/8/12
to montrea...@googlegroups.com
You might wanna look into this

http://graphite.wikidot.com/
> --
> Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Montréal-Python.
> Pour envoyer un message à ce groupe, adressez un e-mail à montrea...@googlegroups.com.
> Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse montrealpytho...@googlegroups.com.
> Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/montrealpython?hl=fr-CA
>



--
aivo

Jean-Philippe Caissy

unread,
Oct 8, 2012, 6:32:56 PM10/8/12
to montrea...@googlegroups.com
I've used networkx and it can handle 75k nodes easily. Might take some time (a few hundred milliseconds) to load tough. In the end networkx uses graphviz to draw graphs. It's customizable as per Graphviz's specifications. IIRC networkx had a builtin breadth first search path traversal alogirthm to organize the graph in a more structured way.

2012/10/8 vahan (aivo) <aiv...@gmail.com>

Benoit Perron

unread,
Oct 9, 2012, 3:21:42 PM10/9/12
to montrea...@googlegroups.com
I've used both NetworkX and PyDot (GraphViz wrapper) in the same project. NetworkX has a lot of really useful features but couldn't generate the output I wanted. I ended up using NetworkX to do the grunt work and then putting everything through PyDot for the layout.
Reply all
Reply to author
Forward
0 new messages