public void drawEdge(Map<String,Object> attrs){
  List<mxPoint> pts=parsePoints(mxUtils.getString(attrs,"points"));
  if (pts.size() > 0) {
    canvas.drawEdge(pts,attrs);
  }
}

public void drawEdge ( Map < String , Object > attrs ) { List < mxPoint > pts = parsePoints ( mxUtils . getString ( attrs , "points" ) ) ; if ( pts . size ( ) > 0 ) { canvas . drawEdge ( pts , attrs ) ; } }
draws the specified edge using the canvas .
