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