- Initial widget version.
- Nodes and edge gesture events.
- Ability provide graph building direction (horizontal or vertical).
- Ability provide scrolling direction (horizontal, vertical, both or none).
- Ability to provide custom builder to node widget.
- Ability to provide custom paint builder to graph edges.
- Ability to customize arrows.
- Code style fixes.
- Ability to scale & pan graph through Interactive Widget.
- Removed ScrollDirection enum (replaced ScrollViews with Interactive Widget).
- Added ability to customize path shape with pathBuilder param.
- Core lib bug fixes
- Initial null safety support
- Fix edges shift bug as a result of grid view non-zero padding
- Use arrow_path v2.0, skip own fork
- Param
cellSize
changed todefaultCellSize
withSize
type. Now it's possible to create non-square nodes. #16 - Each node input now has
size
param allowingdefaultCellSize
override for particular nodes. #15 - Node gestures know also have rect (
Rect
) as param, with info about node's position onStack
. - Ability to set
centered
node outcomes to provide more pretty graph rendering for tree-like graphs. #2 - Ability to add overlays with
overlayBuilder
param. - Ability to add edge text or
Widget
labels usingedgeLabels
param. #13 - Ability to wrap
InteractiveViewer
content with custom widget usingcontentWrapperBuilder
. - Ability to draw double-headed arrows on edges or without arrows on edges via
EdgeInput.type
. #4 - Added
clipBehavior
,transformationController
as new params. - Fixed bugs with non-firing edge gestures and increased edges hitbox to improve UX. #10 #14
- More examples.
- Many fixes and improvements for more compact graph rendering.
- Removed internal
InteractiveViewer
dependency. Content boundaries, scrolls orInteractiveViewer
usage are now on applications responsibility. #20 - Removed
transformationController
sinceInteractiveViewer
is no longer used. - Removed
contentWrapperBuilder
sinceInteractiveViewer
is no longer used. - Changed
onCanvasTap
callback to provide tap details and trigger only if tapped out of other widgets and figures.
- Removed max iterations limitation for graph.
- Fixed complexity bug with node relations detection.
- Added new
EdgeStyle
param with options for edges customization, like border-radius and like style. - Changed
PaintBuilder
toEdgeStyleBuilder
, paint selection is now a part ofEdgeStyleBuilder
. - Changed
PathBuilder
to acceptEdgeStyle style
param as an argument. - Edges gestures hit-box rework.