anchor.diff:  
       for (int i = 1; i < _state.getAbsolutePointCount(); i++) {
         awt.Point current = _state.getAbsolutePoint(i).getPoint();
  -      awt.Line2D line = new awt.Line2D.Float(last.x, last.y, current.x, current.y);
  +      awt.Line2D line = new awt.Line2D(last.x, last.y, current.x, current.y);
   
         awt.Rectangle bounds = g2.getStroke().createStrokedShape(line).getBounds();
   
  
positive.code:   }
  
    // Sets the highlight color according to isValidConnection
    boolean isValidState(mxCellState state) {
      mxGraphView view = graphComponent.getGraph().getView();
      mxIGraphModel model = graphComponent.getGraph().getModel();
      Object edge = edgeHandler.state.getCell();
      boolean isSource = edgeHandler.isSource(edgeHandler.index);
  
      mxCellState other = view.getTerminalPort(state, view.getState(model.getTerminal(edge, !isSource)), !isSource);
      Object otherCell = (other != null) ? other.getCell() : null;
      Object source = (isSource) ? state.getCell() : otherCell;
      Object target = (isSource) ? otherCell : state.getCell();
  
      edgeHandler.error = edgeHandler.validateConnection(source, target);
  
      return edgeHandler.error == null;
    }
  }
  
  
negative.code:       double scale = graph.getView().getScale();
        geometry.setOffset(new Point2d(0, 0));
        pt = graph.getView().getPoint(edgeState, geometry);
        geometry.setOffset(new Point2d(((x - pt.getX()) / scale).round(), ((y - pt.getY()) / scale).round()));
  
        model.setGeometry(edgeState.getCell(), geometry);
      }
    }
  
    util.Cursor _getCursor(event.MouseEvent e, int index) {
      util.Cursor cursor = null;
  
      if (isLabel(index)) {
        cursor = util.Cursor.MOVE;
      } else {
        cursor = util.Cursor.MOVE;//HAND_CURSOR;
      }
  
      return cursor;
    }
  
    awt.Color getSelectionColor() {
      return SwingConstants.EDGE_SELECTION_COLOR;
    }
  
  