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;
  BENT_LINE.reset();
  BENT_LINE.moveTo(0.0f,0.0f);
  BENT_LINE.lineTo(0.5f,controlY);
  BENT_LINE.lineTo(1.0f,1.0f);
  return BENT_LINE;
}

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 ; BENT_LINE . reset ( ) ; BENT_LINE . moveTo ( 0.0f , 0.0f ) ; BENT_LINE . lineTo ( 0.5f , controlY ) ; BENT_LINE . lineTo ( 1.0f , 1.0f ) ; return BENT_LINE ; }
get the shape for this edge , returning either the shared instance or , in the case of self - loop edges , the loop shared instance .
