Skip to content

Releases: miroiu/nodify

Release v4.0.0

15 Oct 21:49
20b1988

Choose a tag to compare

  • Breaking Changes:
    • Removed Selection field from NodifyEditor
    • Removed InitialMousePosition, CurrentMousePosition, PreviousMousePosition fields from NodifyEditor
    • Removed ItemContainer.DraggableHost (use Editor.ItemsHost instead)
    • Made SelectionType required in SelectionHelper
    • Moved GroupingNode.SwitchMovementModeModifierKey to EditorGestures.GroupingNode
    • Pending connections are now restricted to connect only to Connectors or to NodifyEditors and ItemContainers if PendingConnection.AllowOnlyConnectors is false
  • Features:
    • Added Connector.EnableStickyConnections to allow completing pending connections in two steps.
    • Added editor states which can be overriden by inheriting from NodifyEditor and implementing NodifyEditor.GetInitialState().
      • EditorState - base class for all editor states
      • EditorDefaultState
      • EditorSelectingState
      • EditorPanningState
    • Added container states which can be overriden by inheriting from ItemContainer and implementing ItemContainer.GetInitialState().
      • ContainerState - base class for all container states
      • ContainerDefaultState
      • ContainerDraggingState
    • Added MultiGesture utility that can combine multiple input gestures into one gesture
    • Added configurable input gestures for NodifyEditor, ItemContainer, Connector, BaseConnection and GroupingNode to EditorGestures.
    • Added State, PushState, PopState and PopAllStates to NodifyEditor and ItemContainer
    • Changed the default AutoPanSpeed to 15 from 10 pixels per tick.
    • Allow setting ItemContainer.IsPreviewingLocation from derived classes
  • Bugfixes:
    • Fixed HandleRightClickAfterPanningThreshold not working as expected
    • Fixed DisablePanning not disabling auto panning in certain situations
    • Fixed GroupingNode selection not working with multiple selection modes
    • Fixed PendingConnection connecting cross editors