Here’s a force directed graph layout example.
It uses Length goals for graph edges, and repulsion between the nodes (with some spatial sorting and cutoffs to make it faster by skipping interactions between distant points).
repulsion_distribute.gh (11.4 KB)