Graph API / framework

Doug Holton insert at spam.here
Mon Jun 21 04:25:10 CEST 2004


George Sakkis wrote:
> Does anyone know of a good graph API ? The only one I found for Python is
> part of kjbuckets
> (http://starship.python.net/crew/aaron_watters/kjbuckets/kjbuckets.html),
> but I was looking for something more sophisticated; I am more concerned
> about elegance and extensibility than top performance. JUNG
> (http://jung.sourceforge.net/doc/manual.html) for java looks more promising.
> Does anyone have experience with it or some other relevant framework ?
> Thanks,

You'd probably just want to implement it yourself.  There are some basic 
python graph examples out there, like this one:
http://www.ece.arizona.edu/~denny/python_nest/graph_lib_1.0.1.html
http://www.ece.arizona.edu/~denny/python_nest/graph_lib.py

For drawing graphs, people tend to use Graphviz from python, but you 
could draw it yourself using a GUI toolkit like wxPython.

Or else use Jython to access some of the Java libraries like Jung or JGraph.

If you find any better options, please share them here,
thanks



More information about the Python-list mailing list