Java graph library for dynamic visualisation

JavaGraphVisualization

Java Problem Overview


I am in need of Java library for graphs that supports dynamic visualization. I need to have objects moving between the vertices and this has to be shown. 3D is not needed, a 2D representation will suffice.

I am currently using JUNG but it is very limited, it is more for static graphs from what I can tell.

I have looked at this question but JGraphT doesn't seem to do it either.


Late Edit:

I waited to finish the project before awarding an answer. I ended up keeping JUNG, while also using UBIGraph (dead project since 2012) as a secondary library.

Java Solutions


Solution 1 - Java

Take a look:

  • GEF - GUI components for graphical editing, including graphs, (Eclipse) SWT based
  • JGraphX - former JGraph, not actively developed since March 2020
  • Piccolo2D - (Eclipse) SWT based
  • JUNG - last released in 2010 (as of 2020); was very popular back then
  • yWorks - not open source, not free
  • JGraphT - data handling and algorithms only, no integrated visualizaiton, though supports JGraphX visualization

Solution 2 - Java

Take a look at GraphStream, as shown from their demo video you can do some fancy stuff with graphs using their library.

Solution 3 - Java

Prefuse is pretty and powerful. The website is no longer there so here is an archived version

Solution 4 - Java

Have you had a look at Processing, or Processing.js? There are some amazing vis projects being made with this.

Not strictly Java, but easy to integrate within a Java environment, if I recall correctly.

Solution 5 - Java

Another option if feasible is to construct text file in graphviz dot format and process it using various tools provided. Mostly helpful for generate static images

See graphviz gallery for more details

enter image description here

Solution 6 - Java

You may also want to have a look at wilmascope (or its project page). I used it a few years ago after full research and was quite happy with it, but it has not been updated since 2004 (as of 2020).

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
QuestionIustinView Question on Stackoverflow
Solution 1 - JavaeviloneView Answer on Stackoverflow
Solution 2 - JavaOubenal MohcineView Answer on Stackoverflow
Solution 3 - JavaAndreas PeterssonView Answer on Stackoverflow
Solution 4 - JavaTommy O'DellView Answer on Stackoverflow
Solution 5 - JavaPrashant BhateView Answer on Stackoverflow
Solution 6 - JavaMaciliasView Answer on Stackoverflow