Is there a python equivalent of the prefuse visual

2019-03-10 03:43发布

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.

7条回答
走好不送
2楼-- · 2019-03-10 04:14

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

查看更多
3楼-- · 2019-03-10 04:15

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

查看更多
Animai°情兽
4楼-- · 2019-03-10 04:17

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.

查看更多
你好瞎i
5楼-- · 2019-03-10 04:29

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.

查看更多
Explosion°爆炸
6楼-- · 2019-03-10 04:31
相关推荐>>
7楼-- · 2019-03-10 04:34

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

查看更多
登录 后发表回答