Try using the force-directed layout (JGoForceDirectedAutoLayout). The force-directed algorithm uses the metaphore of forces in the physical world to layout the diagram. Nodes are treated as though they have an electrical charge and are therefore mutually repulsive. Links are treated as springs, which hold the nodes together. There is also gravitational force (in any direction) and you can erect “force-fields” to constrain the diagram to stay within a particular area.
Thanks, I’ll try that.
There isn’t any built-in circular layout, so you’ll need to write it. An opportunity to brush up on your Trig!The following link looks like a good place to start: