Graph API / framework

G

George Sakkis

K

Kenneth McDonald

The best package I've seen for doing Python API graphs is matplotlib.

However, I think what the poster is looking for is not x-y graphs,
but discrete (i.e. node/link) graphs, and for that I don't have
a suggestion. Pretty easy to put something together using
dicts, though.

Ken
 
S

Simon Dahlbacka

George said:
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,

George

is something like pydot (http://dkbza.org/pydot.html) what you are
looking for? Bindings for the dot tool from the grapviz package
(http://www.research.att.com/sw/tools/graphviz/)

/Simon
 
D

Doug Holton

George said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,201
Messages
2,571,052
Members
47,656
Latest member
rickwatson

Latest Threads

Top