Releases: miroiu/nodify
Releases · miroiu/nodify
Release v7.0.0
This release focuses on streamlining the API, enhancing user interactions, and introducing robust state management capabilities.
- Breaking Changes:
- Made the setter of NodifyEditor.IsPanning private
- Made SelectionHelper internal
- Renamed HandleRightClickAfterPanningThreshold to MouseActionSuppressionThreshold in NodifyEditor
- Renamed StartCutting to BeginCutting in NodifyEditor
- Renamed Connector.EnableStickyConnections to ConnectorState.EnabledToggledConnectingMode
- Renamed PushItems to UpdatePushedArea and StartPushingItems to BeginPushingItems in NodifyEditor
- Renamed UnselectAllConnection to UnselectAllConnections in NodifyEditor
- Removed DragStarted, DragDelta and DragCompleted routed events from ItemContainer
- Replaced the System.Windows.Input.MouseGesture with Nodify.Interactivity.MouseGesture for default EditorGesture mappings
- Removed State, GetInitialState, PushState, PopState and PopAllStates from NodifyEditor and ItemContainer
- Replaced EditorState and ContainerState with InputElementState
- Moved AllowCuttingCancellation from CuttingLine to NodifyEditor
- Moved AllowDraggingCancellation from ItemContainer to NodifyEditor
- Moved EditorGestures under the Nodify.Interactivity namespace
- Moved editor events under the Nodify.Events namespace
- Features:
- Added BeginPanning, UpdatePanning, EndPanning, CancelPanning and AllowPanningCancellation to NodifyEditor and Minimap
- Added MouseLocation, ZoomAtPosition and GetLocationInsideMinimap to Minimap
- Added UpdateCuttingLine to NodifyEditor
- Added Select, BeginSelecting, UpdateSelection, EndSelecting, CancelSelecting and AllowSelectionCancellation to NodifyEditor
- Added IsDragging, BeginDragging, UpdateDragging, EndDragging and CancelDragging to NodifyEditor
- Added AlignSelection and AlignContainers methods to NodifyEditor
- Added LockSelection and UnlockSelection methods to NodifyEditor and EditorCommands
- Added ItemsMoved routed event to NodifyEditor
- Added HasCustomContextMenu dependency property to NodifyEditor, ItemContainer, Connector and BaseConnection
- Added Select, BeginDragging, UpdateDragging, EndDragging and CancelDragging to ItemContainer
- Added PreserveSelectionOnRightClick configuration field to ItemContainer
- Added BeginConnecting, UpdatePendingConnection, EndConnecting, CancelConnecting and RemoveConnections methods to Connector
- Added FindTargetConnector and FindConnectionTarget methods to Connector
- Added a custom MouseGesture with support for key combinations
- Added InputProcessor to NodifyEditor, ItemContainer, Connector, BaseConnection and Minimap, enabling the extension of controls with custom states
- Added DragState to simplify creating click-and-drag interactions, with support for initiating and completing them using the keyboard
- Added InputElementStateStack, InputElementStateStack.DragState and InputElementStateStack.InputElementState to manage transitions between states in UI elements
- Added InputProcessor.Shared to enable the addition of global input handlers
- Move the viewport to the mouse position when zooming on the Minimap if ResizeToViewport is false
- Added SplitAtLocation and Remove methods to BaseConnection
- Added AllowPanningWhileSelecting, AllowPanningWhileCutting and AllowPanningWhilePushingItems to EditorState
- Added AllowZoomingWhilePanning, AllowZoomingWhileSelecting, AllowZoomingWhileCutting and AllowZoomingWhilePushingItems to EditorState
- Added EnableToggledSelectingMode, EnableToggledPanningMode, EnableToggledPushingItemsMode and EnableToggledCuttingMode to EditorState
- Added MinimapState.EnableToggledPanningMode
- Added ContainerState.EnableToggledDraggingMode
- Added Unbind to InputGestureRef and EditorGestures.SelectionGestures
- Added EnableHitTesting to PendingConnection
- Bugfixes:
- Fixed an issue where the ItemContainer was selected by releasing the mouse button on it, even when the mouse was not captured
- Fixed an issue where the ItemContainer could open its context menu even when it was not selected
- Fixed an issue where the Home button caused the editor to fail to display items when contained within a ScrollViewer
- Fixed an issue where connector optimization did not work when SelectedItems was not data-bound
- Fixed EditorCommands.Align to perform a single arrange invalidation instead of one for each aligned container
- Fixed an issue where controls would capture the mouse unnecessarily; they now capture it only in response to a defined gesture
- Fixed an issue where the minimap could update the viewport without having the mouse captured
- Fixed ItemContainer.Select and NodifyEditor.SelectArea to clear the existing selection and select the containers within the same transaction
- Fixed an issue where editor interactions failed to cancel upon losing mouse capture
- Fixed an issue where selecting a new connection would not clear the previous selection within the same transaction
- Add panning methods to NodifyEditor by @miroiu in #153
- Improve cutting methods in NodifyEditor by @miroiu in #154
- Improve pushing items methods in NodifyEditor by @miroiu in #155
- Add selecting methods to NodifyEditor by @miroiu in #156
- Add dragging methods to NodifyEditor by @miroiu in #159
- Add dragging methods to ItemContainer by @miroiu in #160
- Suppress context menu for common actions by @miroiu in #162
- Add editor methods to align containers by @miroiu in #163
- Add HasCustomContextMenu to NodifyEditor and ItemContainer by @miroiu in #165
- Added Connector methods to manage a pending connection by @miroiu in #166
- Add a custom MouseGesture with support for key combinations by @miroiu in #167
- Fix minimap updating the viewport without having the mouse captured by @miroiu in #169
- End operation if cancellation is not supported by @miroiu in #171
- Replace selection within the same transaction by @miroiu in #172
- Redesigned state management by @miroiu in #170
- Reorganize folder structure by @miroiu in #174
- Add the possibility to register global input handlers by @miroiu in #175
- Added panning methods to Minimap by @miroiu in #176
- Enable custom input processing for BaseConnection by @miroiu in #177
- Enable toggled interactions for various editor operations by @miroiu in #178
- Replace connection selection within the same transaction by @miroiu in #179
- Add ItemsMoved routed event to NodifyEditor to simplify undo-redo by @miroiu in #180
- Add LockSelection and UnlockSelection to NodifyEditor by @miroiu in #181
- Unbind gestures by @miroiu in #182
- Retarget connections in Playground app by @miroiu in #183
- Improved support for toggled interactions by @miroiu in #184
- Generate API reference by @miroiu in #185
Full Changelog: v6.6.0...v7.0.0
Release v6.6.0
- Features:
- Added InputGroupStyle and OutputGroupStyle to Node
- Added PanWithMouseWheel, PanHorizontalModifierKey and PanVerticalModifierKey to EditorGestures.Editor
- Added CornerRadius dependency property to LineConnection, CircuitConnection and StepConnection
- Added EditorGestures.Editor.PushItems gesture used to start pushing ItemContainers vertically or horizontally
- Added PushedAreaStyle, PushedAreaOrientation and IsPushingItems dependency properties to NodifyEditor
- Added NodifyEditor.SnapToGrid utility function
- Bugfixes:
- Fixed ItemContainer.BorderBrush and ItemContainer.SelectedBrush not reacting to theme changes
- Add InputGroupStyle and OutputGroupStyle to Node by @miroiu in #145
- Smooth connection corners by @miroiu in #149
- Pan using the mouse wheel by @miroiu in #147
- Move all items relative to the cursor by performing a drag gesture by @miroiu in #150
- Fix ItemContainer borders not reacting to theme changes by @miroiu in #151
Full Changelog: v6.5.0...v6.6.0
Release v6.5.0
- Features:
- Added SelectedConnection, SelectedConnections, CanSelectMultipleConnections and CanSelectMultipleItems dependency properties to NodifyEditor
- Added IsSelected and IsSelectable attached dependency properties to BaseConnection
- Added PrioritizeBaseConnectionForSelection static field to BaseConnection
- Added EditorGestures.Connection.Selection
- Added support for ScrollViewer in NodifyEditor (implements IScrollInfo)
- Added NodifyEditor.ScrollIncrement dependency property
- Add the ability to select connections by @miroiu in #139
- Add support for ScrollViewer by @miroiu in #142
Full Changelog: v6.4.0...v6.5.0
Release v6.4.0
- Features:
- Added OutlineBrush and OutlineThickness dependency properties to BaseConnection to support increasing the selection area without increasing the stroke thickness
- Added IsAnimatingDirectionalArrows and DirectionalArrowsAnimationDuration dependency properties to BaseConnection to support controlling the animation from XAML
- Add OutlineBrush and OutlineThickness to BaseConnection by @miroiu in #133
- Add IsAnimatingDirectionaArrows and DirectionalArrowsAnimationDuration to BaseConnection by @miroiu in #135
Full Changelog: v6.3.0...v6.4.0
Release v6.3.0
- Features:
- Added a CuttingLine control that removes intersecting connections
- Added CuttingLineStyle, CuttingStartedCommand, CuttingCompletedCommand, IsCutting, EnableCuttingLinePreview and CuttingConnectionTypes to NodifyEditor
- Added EditorGestures.Editor.Cutting and EditorGestures.Editor.CancelAction
- Bugfixes:
- Fixed connection styles not inheriting from the BaseConnection style
Full Changelog: v6.2.0...v6.3.0
Release v6.2.0
- Features:
- Added a Minimap control and EditorGestures.Minimap
- Added ContentContainerStyle, HeaderContainerStyle and FooterContainerStyle dependency properties to Node
- Added BringIntoView that takes a Rect parameter to NodifyEditor
- Added the NodifyEditor's DataContext as the parameter of the ItemsSelectStartedCommand, ItemsSelectCompletedCommand, ItemsDragStartedCommand and ItemsDragCompletedCommand commands
- Bugfixes:
- Fixed hover effect and padding of NodeInput and NodeOutput for vertical orientation
- Fixed ItemContainers being selected sometimes when double clicking the canvas
Full Changelog: v6.1.0...v6.2.0
Release v6.1.0
- Features:
- Added new built-in connection type: StepConnection
- Bugfixes:
- Fixed CircuitConnection directional arrows not interpolating correctly
- Fixed BaseConnection SplitEvent and DisconnectEvent not being raised if the corresponding command is null
- Fixed DecoratorContainer scaling with zoom when not referencing a theme in App.xaml
- Fixed style not applying to the default Connection template outside App.xaml
- Add new built-in connection type: StepConnection by @miroiu in #109
- add chinese wiki docs by @WYihei in #114
- [Example] Add shapes drawing example application by @miroiu in #115
Full Changelog: v6.0.0...v6.1.0
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
Release v5.2.0
- Features:
> - Added Text to BaseConnection, allowing displaying of text on connections
> - Added Foreground, FontSize, FontWeight, FontStyle, FontStretch and FontFamily to BaseConnection, allowing styling the displaying text
> - Added ItemContainer.SelectedBorderThickness dependency property
> - Added NodifyEditor.GetLocationInsideEditor- Bugfixes:
> - Fixed MouseCapture not being released when EnableStickyConnections is enabled and the PendingConnection is canceled by a key gesture
> - Fixed NodeOutput content horizontal alignment
> - Fixed Connector not opening Context Menu
> - Fixed PendingConnection.PreviewTarget not being set to null when there is no actual target
> - Fixed PendingConnection.PreviewTarget not being set on Connector.PendingConnectionStartedEvent
> - Fixed PendingConnection.PreviewTarget not being set to null on Connector.PendingConnectionCompletedEvent
> - Fixed connectors panel not being affected by Node.VerticalAlignment
> - Changing BorderThickness causes layout shift when selecting an item container
> - Fixed the unintentional movement caused by snapping correction
Full Changelog: v5.0.1...v5.2.0
Release v5.0.1
- Bugfixes:
- Returning false from PendingConnection.StartedCommand.CanExecute does not stop the creation of a pending connection
- BaseConnection.ArrowEnds does not display correctly when BaseConnection.Direction is ConnectionDirection.Backward
Full Changelog: v5.0.0...v5.0.1