3.0.0 beta 4
Pre-release
Pre-release
Added
- Initial version of Ordering!
- Nodes, groups and links can now be ordered using the new
Order
property orSendToFront/Back
methods Diagram.OrderedSelectables
returns the ordered selectables/modelsDiagramCanvas
now uses this new property to render everything
- Nodes, groups and links can now be ordered using the new
GridSnapToCenter
option in order to snap nodes from their center instead of their top/left position (thanks to @Jeremy Vance)- More unit tests
Changed
Groups
is not a list of groups anymore, but a layer instead (just likeNodes
andLinks
)
Fixed
- Deleting a group doesn't delete links attached to it
- Deleting a group inside of a group doesn't refresh the parent group
- Links not refreshing when a group's dimensions are updated directly (e.g. deleting a child)
- Layers causing more refreshes than intended
Removed
- All group-related methods and events from
Diagram
, please use the new layer from now on