ARF Layout: Attractive and Repulsive Forces algorithm.
Uses spring forces between connected nodes (attraction) and repulsive forces
between all nodes. The parameter 'a' controls the strength of springs -
higher values create tighter clustering of connected components.