plough 0.7.0
plough: ^0.7.0 copied to clipboard
Flutter package to render interactive network graph visualizations, featuring multiple layout algorithms, customizable appearance.
develop #
0.7.0 #
- [CHANGE] Removed
ListenablefromGraphEntityto prevent direct observation of individual entity state changes. - [CHANGE] Removed
appsdirectory as theworkbenchapplication has been migrated to an independent repository. - [CHANGE] Increased
touchSloptolerance for more forgiving tap detection. - [CHANGE] Standardized
touchSlopvalues tokTouchSlop * 4inGraphGestureManager's_isWithinSlopmethod and_TapStatefor improved gesture detection consistency. - [ADD] Unified
GraphViewBehaviorinteraction callbacks (e.g.,onTap,onDragStart,onSelectionChange) using newGraphEventobjects (GraphTapEvent,GraphDragStartEvent,GraphSelectionChangeEvent, etc. fromlib/src/interactive/events.dart). This replaces separate node/link specific callbacks (likeonNodeTap,onLinkTap) and simplifies handling events involving multiple entities. - [ADD]
Graph.clearSelection()now deselects all selected entities. - [ADD] Added
paddingparameter toGraphDefaultNodeRendererStyleto allow setting padding between a node's border and its content. - [ADD] Added
onDoubleTapcallback toGraphViewBehavior. - [FIX] Improved double-tap detection reliability by introducing a Pan Ready state to prevent tap timers from being cancelled prematurely during drag starts, leading to more accurate distinction between taps and drags.
- [FIX] Resolved a race condition with
Timer(Duration.zero)during double-tap state cleanup, enhancing gesture detection stability.
0.6.0 #
First release.
