Releases: lempiy/flutter_graphite
Releases · lempiy/flutter_graphite
Upgrade arrow lib & fix defaultValue for edges
Add EdgeStyle new param with new features
- Added new
EdgeStyleparam with options for edges customization, like border-radius and like style. - Changed
PaintBuildertoEdgeStyleBuilder, paint selection is now a part ofEdgeStyleBuilder. - Changed
PathBuilderto acceptEdgeStyle styleparam as an argument. - Edges gestures hit-box rework.
Fix complexity bug
- Fix complexity bug with node relations detection.
Remove max iterations
- Removed max node per graph limit.
Get rid of InteractiveViewer.
- Removed internal
InteractiveViewerdependency. Content boundaries, scrolls orInteractiveViewerusage are now on applications responsibility. - Removed
transformationControllersinceInteractiveVieweris no longer used. - Removed
contentWrapperBuildersinceInteractiveVieweris no longer used. - Changed
onCanvasTapcallback to provide tap details and trigger only if tapped out of other widgets and figures.
Major release of new functionality
- Param
cellSizechanged todefaultCellSizewithSizetype. Now it's possible to create non-square nodes. #16 - Each node input now has
sizeparam allowingdefaultCellSizeoverride for particular nodes. #15 - Node gestures know also have rect (
Rect) as param, with info about node's position onStack. - Ability to set
centerednode outcomes to provide more pretty graph rendering for tree-like graphs. #2 - Ability to add overlays with
overlayBuilderparam. - Ability to add edge text or
Widgetlabels usingedgeLabelsparam. #13 - Ability to wrap
InteractiveViewercontent with custom widget usingcontentWrapperBuilder. - Ability to draw double-headed arrows on edges or without arrows on edges via
EdgeInput.type. #4 - Added
clipBehavior,transformationControlleras 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.
Bump pubspec version to 0.2.2
Fix Tag
Add on Canvas Tap param
- Added on custom painter tap gesture
Add InteractiveViewer and PathBuilder
- 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.