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
Orderproperty orSendToFront/Backmethods Diagram.OrderedSelectablesreturns the ordered selectables/modelsDiagramCanvasnow uses this new property to render everything
- Nodes, groups and links can now be ordered using the new
GridSnapToCenteroption in order to snap nodes from their center instead of their top/left position (thanks to @Jeremy Vance)- More unit tests
Changed
Groupsis not a list of groups anymore, but a layer instead (just likeNodesandLinks)
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