/** Removes the point and updates the connection. */
 public void removePointAt(int i) {
   super.removePointAt(i);
   layoutConnection();
 }