@Override
 public Space newEdgeSpace(Object edge, Box pa, Box pb) {
   return new Line3D(pa.getPosition(), pb.getPosition(), new DoubleVar(0.02), 2);
 }
Exemplo n.º 2
0
 @Override
 public Space newEdgeSpace(Object edge, Box pa, Box pb) {
   Line3D fl = new Line3D(pa.getPosition(), pb.getPosition(), new DoubleVar(0.02), 2);
   fl.color(Color.newRandomHSB(0.5, 0.5));
   return fl;
 }