Ejemplo n.º 1
0
 private float spiral_rad(Node n, int i) {
   return app.getStandardNodeDistance() / 2f
       + (float) Math.sqrt(app.getClusterRad() * i + n.getSize()) * 10f;
 }
Ejemplo n.º 2
0
 private float spiral_angle(Node n, int i) {
   return (float) Math.sqrt(app.getClusterRad() * i + n.getSize()) * 75f;
 }