code: public static void drawArrow(Graphics g, Point from, Point to, double weight){
  		drawArrow(g, from.getX(), from.getY(), to.getX(), to.getY(), weight);
  	}
docs: Draws an arrow between two given points using the specified weight.<br>
  The arrow is leading from point <code>from</code> to point <code>to</code>.
  @param g Graphics context
  @param from Arrow starting point
  @param to Arrow ending point
  @param weight Arrow weight