Is there a python equivalent of the prefuse visualization toolkit?

跟風遠走 提交于 2019-12-02 19:38:11

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

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.)

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.

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.

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

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).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!