Force Directed Graph by using Processing

Force-directed graph drawing (Wikipedia)

Force Directed Graph is one way to visualize Node-Link data by using force-directed layout algorithms.
The example below is using Coulomb’s Law and Hooke’s Law (and Damping effect) to calculate the kinetic energy of the graph that is to be minimized.

Back to the index page

Processing Source Code

The Processing source code is available at