Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pure Java reimplementation of GraphViz? [closed]

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.

like image 425
paweloque Avatar asked Mar 17 '09 13:03

paweloque


5 Answers

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

like image 143
DrDee Avatar answered Nov 02 '22 08:11

DrDee


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

like image 36
Big Rich Avatar answered Nov 02 '22 06:11

Big Rich


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

like image 29
Mark Avatar answered Nov 02 '22 07:11

Mark


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

like image 6
Joachim Sauer Avatar answered Nov 02 '22 07:11

Joachim Sauer


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

like image 4
Mike Chen Avatar answered Nov 02 '22 06:11

Mike Chen