If you can set the seed for the random number generator in the
force-directed layout algorithm, I believe the layout should be
deterministic.
To aid this kind of algorithm configuration, it might be a good idea
to replace references to java.util.Random with
org.apache.commons.math.random.RandomGenerator
http://commons.apache.org/math/api-2.1/org/apache/commons/math/random/package-summary.html
michael
If I'm looking in the right place, this already is the case
ForceDirectedLayout.java, line 103:
m_fsim.addForce(new NBodyForce());
NBodyForce.java, line 59:
private Random rand = new Random(12345678L); // deterministic randomness
Maybe you just need to increase the number of iterations.
michael
-- scooter