JGraph 5.6.1

getSelectionCellAt added to JGraph

getSelectionCellAt takes a Point2D as its parameter and returns the first selected cell whose bounds the point lies within. This is useful if you have a mouse operation that doesn't perform a selection and you want the operation to act only on selected cells. A right mouse button press to bring up a popup menu is such an example.

Moves into group checks for full intersection

Previously, whether or not a cell that was dragged into a group was made part of that group ( assuming the move into groups option is enabled ) was based on the mouse position when released. This has been corrected to be based on whether the cells bounds is fully within the bounds of the group cell instead.

Inserting/Removing extra labels in edge handle

When extra labels and selected and dragged with the control key is depressed, a clone of the extra label is made upon release. Also, if a press occurs on an extra label with the shift key depressed, the extra label is removed.

Bounds cloning bug in JGraph.getCellBounds

An intermitent bounds cloning bug was fixed in JGraph.getCellBounds(Object[]). This meant occasionally it was possible for a cell to become very high since it was using the bounds value from a previously processed cell.

EdgeView.getPerimeterPoint returns edge center

This means that edges connecting to other edges will point to the center of the connected-to edge if the port attached to the connected-to edge is floating.