graphite 1.1.0
graphite: ^1.1.0 copied to clipboard
Flutter widget to easily draw direct graphs, trees, flowcharts. Includes gesture API to create graphs interactions.
[0.1.0] - July 18, 2020. #
- 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.
[0.1.1] - July 18, 2020. #
- Code style fixes.
[0.2.0] - August 29, 2020. #
- 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.
[0.2.3] - December 16, 2020 #
- Core lib bug fixes
[0.3.0-alpha] - April 29, 2021 #
- Initial null safety support
[0.3.0-beta] - April 30, 2021 #
- Fix edges shift bug as a result of grid view non-zero padding
[0.3.0] - May 13, 2021 #
- Use arrow_path v2.0, skip own fork
[1.0.0] - December 11, 2022 #
- 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.
[1.1.0] - March 9, 2023 #
- 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.