Skip to content

Releases: lempiy/flutter_graphite

Upgrade arrow lib & fix defaultValue for edges

Choose a tag to compare

@lempiy lempiy released this 28 Mar 21:38
  • Upgrade arrow_path 34
  • Fix default setting for arrowType 36

Add EdgeStyle new param with new features

Choose a tag to compare

@lempiy lempiy released this 25 Jun 15:09
e0d80f8
  • Added new EdgeStyle param with options for edges customization, like border-radius and like style.
  • Changed PaintBuilder to EdgeStyleBuilder, paint selection is now a part of EdgeStyleBuilder.
  • Changed PathBuilder to accept EdgeStyle style param as an argument.
  • Edges gestures hit-box rework.

Fix complexity bug

Choose a tag to compare

@lempiy lempiy released this 12 May 13:15
0652081
  • Fix complexity bug with node relations detection.

Remove max iterations

Choose a tag to compare

@lempiy lempiy released this 27 Apr 08:33
8b4a60f
  • Removed max node per graph limit.

Get rid of InteractiveViewer.

Choose a tag to compare

@lempiy lempiy released this 09 Mar 19:37
  • Removed internal InteractiveViewer dependency. Content boundaries, scrolls or InteractiveViewer usage are now on applications responsibility.
  • Removed transformationController since InteractiveViewer is no longer used.
  • Removed contentWrapperBuilder since InteractiveViewer 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

Choose a tag to compare

@lempiy lempiy released this 11 Dec 10:16
fe778a0
  • Param cellSize changed to defaultCellSize with Size type. Now it's possible to create non-square nodes. #16
  • Each node input now has size param allowing defaultCellSize override for particular nodes. #15
  • Node gestures know also have rect (Rect) as param, with info about node's position on Stack.
  • 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 using edgeLabels param. #13
  • Ability to wrap InteractiveViewer content with custom widget using contentWrapperBuilder.
  • 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

Choose a tag to compare

@lempiy lempiy released this 17 Oct 18:50
Fix Tag

Add on Canvas Tap param

Choose a tag to compare

@lempiy lempiy released this 17 Oct 18:35
  • Added on custom painter tap gesture

Add InteractiveViewer and PathBuilder

Choose a tag to compare

@lempiy lempiy released this 28 Aug 21:33
  • 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.