Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Graph library for Network visualization by Graph

I want to Implement a visualization interface for visualizing nodes and edges as graph and some objects like nodes moving between the nodes as Data packets Like the image below:

enter image description here

I have tried using the Jung library but it lacks any kind of feature for moving objects between the nodes using the edges as the path for the moving object. I have seen the demo of Graph Stream Library that shows some objects moving between nodes but when I looked at the library documentation I didn't find any feature for moving things in the graph , Is this library capable of my need?

If not can anybody suggest a library that can provide me such functionality. Any suggestions would be appreciated.

EDIT : Further efforts in implementation

I am already implementing such functionality in JUNG and for straight edges it works fine , I am using the IterativeProcess class and moving the nodes by setLocation function.

HERE is the implementation.

But I was wondering is there really a better way of doing this by some other library that has some internal defined functionality for doing such thing?

like image 766
Freelancer Avatar asked Jan 01 '15 08:01

Freelancer


1 Answers

I think for your requirement a visualization tool is more suitable than a graph library. I've already used Processing tool in my visualization course which is based on java. It is so simple and easy to learn and still powerful.

like image 156
Reza Avatar answered Sep 30 '22 00:09

Reza