public Shape apply(E e){
  Shape edgeShape=getLoopOrNull(e);
  if (edgeShape != null) {
    return edgeShape;
  }
  int index=getIndex(e,edgeIndexFunction);
  float controlY=control_offset_increment + control_offset_increment * index;
  CUBIC_CURVE.setCurve(0.0f,0.0f,0.33f,2 * controlY,.66f,-controlY,1.0f,0.0f);
  return CUBIC_CURVE;
}

public Shape apply ( E e ) { Shape edgeShape = getLoopOrNull ( e ) ; if ( edgeShape != null ) { return edgeShape ; } int index = getIndex ( e , edgeIndexFunction ) ; float controlY = control_offset_increment + control_offset_increment * index ; CUBIC_CURVE . setCurve ( 0.0f , 0.0f , 0.33f , 2 * controlY , .66f , - controlY , 1.0f , 0.0f ) ; return CUBIC_CURVE ; }
get the shape for this edge , returning either the shared instance or , in the case of self - loop edges , the loop shared instance .
