views:

877

answers:

7

The prefuse visualization toolkit is pretty nice, but for Java. I was wondering if there was something similar for python. My primary interest is being able to navigate dynamic graphs.

A: 

MayaVi

Hank Gay
That's quite different from prefuse. Too powerful and complex for what prefuse is great for.
Mr Grieves
A: 

Note that prefuse now has the flare package which uses flash.

Connect that to a Python backend via web2py and you've got a great web app (just an idea).

Mr Grieves
A: 

You could try using prefuse with JPype, if you can't find a suitable replacement.

eduffy
+2  A: 

If you're using a Mac, check out NodeBox. One extension it offers is a graph library that looks pretty good. Poke around in the NodeBox gallery some to find something similar to your problem and it should have some helpful links.

jblocksom
unfortunately i'm not. but thanks.
carrier
+5  A: 

I know this is not exactly python, but you could use prefuse in python through jython

Something along the lines of:

Add prefuse to your path:

export JYTHONPATH=$JYTHONPATH:prefuse.jar

and

>>> import prefuse

from your jython machinery

this guy has an example of using prefuse from jython here

Steen
+1  A: 

You might want to check out SUMMON, a visualization system that uses python but handles fairly large data sets. There's an impressive video of visualizing and navigating a massive tree. (Can't post the link because I'm a first time poster. It's on the SUMMON front page.)

Bill Katz
SUMMON looks nice, but appears to be only for the desktop. Looks like prefuse/flare are more web-oriented.
monkut
+1  A: 

This is well after OP, but just in case:

pydot. Allows generation & rendering of graphs. If you need graph algorithms (transitive closure etc.) also look at pygraphlib which extends and integrates pydot.

Note that neither allows interactive editing of the rendered diagram. They both use graphviz to generate output.

sfinnie