Releases: lempiy/flutter_graphite
Releases · lempiy/flutter_graphite
Add EdgeStyle new param with new features
- 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.
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
InteractiveViewer
dependency. Content boundaries, scrolls orInteractiveViewer
usage are now on applications responsibility. - 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.
Major release of new functionality
- 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.
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.