Release v6.0.0
- Breaking Changes:
- Added a parameter for the orientation to DrawArrowGeometry, DrawDefaultArrowhead, DrawRectangleArrowhead and DrawEllipseArrowhead in BaseConnection
- Added source and target parameters to GetTextPosition in BaseConnection
- EditorGestures is now a singleton instead of a static class (can be inherited to create custom mappings)
- Selection gestures for ItemContainer and GroupingNode are now separated from the NodifyEditor selection gestures
- Renamed EditorGestures.Editor.Zoom to ZoomModifierKey
- Features:
- Added SourceOrientation and TargetOrientation to BaseConnection to support vertical connectors (vertical/mixed connection orientation)
- Added DirectionalArrowsCount to BaseConnection to allow drawing multipe arrows on a connection flowing in the connection direction
- Added DrawDirectionalArrowsGeometry and DrawDirectionalArrowheadGeometry to BaseConnection to allow customizing the directional arrows
- Improved EditorGestures to allow changing input gestures at runtime
- Added new gesture types: AnyGesture, AllGestures, and InputGestureRef
- Added Orientation dependency property to NodeInput and NodeOutput
- Added DirectionalArrowsOffset dependency property to BaseConnection
- Added StartAnimation and StopAnimation methods to BaseConnection
- Bugfixes:
- Fixed BaseConnection.Text not always displaying in the center of the connection
- Fixed a bug where the item container would incorrectly transition to the dragging state on mouse over
- Extension of vertical-connection feature by @hendrikp in #100
- Added support for vertical connectors (mixed connections) by @miroiu in #99
- Added directional arrows on connections by @miroiu in #102
- Allow changing editor gestures at runtime by @miroiu in #104
- Added Orientation to NodeInput and NodeOutput by @miroiu in #105
- Added the ability to animate directional arrows on connections by @miroiu in #106
Full Changelog: v5.2.0...v6.0.0