Pure Java reimplementation of GraphViz?

2019-01-30 06:14发布

Is there an Open Source java alternative to GraphViz? I'm aware of the existence of Grappa which basically wraps the Graph interface to GraphViz as an JavaAPI. However the layouting is still done by the GraphViz binaries.

I'm looking for a pure-java, open source library providing the same functions and layouting algorithms as GraphViz.

6条回答
\"骚年 ilove
2楼-- · 2019-01-30 06:44

You could look at JGraph though I have never used it so cannot comment on now it compares to GraphViz.

查看更多
孤傲高冷的网名
3楼-- · 2019-01-30 06:47

Interestingly, the Eclipse project has an SWT/JFace component/framework capable of displaying and generating (import/export) Graphviz's 'DOT' format, in pure Java:

ZEST (home page & download links)

See http://wiki.eclipse.org/Graphviz_DOT_as_a_DSL_for_Zest for usage examples.

Although ZEST is touted as an Eclipse plugin, it does seem that the DOT-manipulation API's can be used standalone and external to an Eclipse installation.

To clarify, the DOT functionality is a part of the ZEST 2 functionality, which itself is a sub-component of the GEF4 project.

Cheers

Rich

Update (May 2017) https://github.com/nidi3/graphviz-java

查看更多
聊天终结者
4楼-- · 2019-01-30 06:50

I guess ZGRViewer is what you want. I really like ZGRViewer and AJaPaD.

查看更多
姐就是有狂的资本
5楼-- · 2019-01-30 06:58

You can have a look at JUNG (Java Universal Network/Graph Framework) which has visualization and analytics functions. It's open source.

查看更多
可以哭但决不认输i
6楼-- · 2019-01-30 06:58

yFiles seems to provide all this, but it's not free and not really cheap either. But then again it seems to be a very professional product (haven't used it, except in yEd, which can be used for free).

查看更多
Viruses.
7楼-- · 2019-01-30 06:58

I worked with yFiles about four years ago, and it was excellent. It's costly (though less than JGraph, apparently) but I work in a CS research lab and had access to their generous academic pricing.

查看更多
登录 后发表回答