GraphStream is a Java library for the modeling and analysis of dynamic graphs. You can generate, import, export, measure, layout and visualize them.
https://graphstream-project.org
https://github.com/graphstream