graphite
Flutter widget to easily draw direct graphs, trees, flowcharts. Includes gesture API to create graphs interactions.
1.2.1
2.5K downloads/mo
#4980 most downloaded on pub.dev
lempiy/flutter_graphite
What this package is like to depend on
Last release 1 years ago
28 Mar 2025
Release timing varies
gaps range from 2 weeks to 1.6 years
Most releases are documented
notes for 10 of 12 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
14 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
14 releases · Jul 2020 to Mar 2025
2021
2022
2023
2024
2025
2026
Releases
latest 14-
1.2.128 Mar 2025Nothing published for this version
-
1.2.025 Jun 2024Release notes
Open source →- 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.
- Added new
-
1.1.212 May 2023 -
1.1.127 Apr 2023 -
1.1.009 Mar 2023Release notes
Open source →- Removed internal
InteractiveViewerdependency. Content boundaries, scrolls orInteractiveViewerusage are now on applications responsibility. #20 - 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.
- Removed internal
-
1.0.011 Dec 2022Release notes
Open source →- 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.
- Param
-
0.3.013 May 2021 -
0.3.0-beta30 Apr 2021 pre-release -
0.3.0-alpha29 Apr 2021 pre-release -
0.2.316 Dec 2020 -
0.2.217 Oct 2020Nothing published for this version
-
0.2.028 Aug 2020Release notes
Open source →- 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.1.118 Jul 2020 -
0.1.018 Jul 2020Release notes
Open source →- 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.