I want to implement a visualization interface for visualizing nodes and edges in a graph, and some objects, such as nodes moving between nodes, like Data Packets As shown below:

I tried using the Jung library, but it does not have any function to move objects between nodes using edges as a path for a moving object. I saw a demo of the Graph Stream library, which shows some objects moving between nodes, but when I looked at the library documentation, I did not find any function to move things on the chart. Is this library capable of my need?
If no one can offer a library that can provide me with such functionality. Any suggestions would be appreciated.
EDIT: further implementation efforts
I already implement such functionality in JUNG , and for straight edges it works fine, I use the IterativeProcess class and move nodes through the setLocation function.
HERE is an implementation.
But I was wondering if there is a better way to do this in some other library that has some internally defined functions to accomplish such a thing?
source share