241242243244245246247248249250
r[i] = new Rectangle2D.Double(); invalidate(); } public boolean isConstrainedSizeEvent(MouseEvent e) { GraphUI ui = graph.getUI(); if (ui instanceof BasicGraphUI) return ((BasicGraphUI) ui).isConstrainedMoveEvent(e); return false; }