Pure Java reimplementation of GraphViz?

JavaDrawingGraphvizGraph Visualization

Java Problem Overview


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.

Java Solutions


Solution 1 - Java

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

Solution 2 - Java

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

Solution 3 - Java

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

Solution 4 - Java

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

Solution 5 - Java

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

Solution 6 - Java

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionpaweloqueView Question on Stackoverflow
Solution 1 - JavaDrDeeView Answer on Stackoverflow
Solution 2 - JavaBig RichView Answer on Stackoverflow
Solution 3 - JavaMarkView Answer on Stackoverflow
Solution 4 - JavaJoachim SauerView Answer on Stackoverflow
Solution 5 - JavaMike ChenView Answer on Stackoverflow
Solution 6 - JavaMatthew CornellView Answer on Stackoverflow