How it works? Physics?
Simply stated there is a repulsion force between any two vertexes, and there is a attraction force between vertexes connected with an edge.
All force in GRINEdit's physical layout engine are represented as an instance of class "PhysicalLaw". The layout engine can have several number of the instances and applys all instances iteratively.