interactive_graph_view 0.3.0+1
interactive_graph_view: ^0.3.0+1 copied to clipboard
A performant rendering library for displaying and manipulating custom-defined graph structures through a simple API with maximum control over the graph's look and feel.
0.3.0+1 #
- Fixes that children of
GraphViewportwere not correctly deactivated after they had been rebuilt.
0.3.0 #
New and changed #
- (BREAKING) Replaces
maxWidthwithcontentConstraintsinNodeStyle. - Adds
boundaryInsetstoGraphViewandGraphViewportto keep the outermost children on screen. - Makes the
textparameter inEdgeWidgetoptional. - Adds
debugPaintQuadTreeas a parameter toGraphViewandGraphViewportto be able to show a debug view of the quad tree (the underlying data structure). - Reworks hit testing.
- Adds
onLongPresstoEdgeWidget. - Changes the fallback edge text background color to transparent.
- Updates the large example to make edge properties customizable.
- Adds a button to delete nodes and edges to the large example.
Fixes #
- Fixes multiple issues of the quad tree (the underlying data structure).
- Fixes that children were not rendered when they were larger than the viewport.
- Fixes that scaling did not work when both pointers hit the same node.
- Fixes the hairline gap that was sometimes visible between the end of an edge and its arrow.
- Fixes the thickness of edge-line shadows.
- Fixes that
GraphViewportController.removeNode()andGraphViewportController.removeEdge()did nothing.
0.2.0 #
New and changed #
- (BREAKING) Adds custom gesture callbacks for
GraphView,GraphViewport,NodeWidgetandEdgeWidgetand replaces the old ones. - Reworks gesture handling and coordinate space conversions.
- Adds new big example which uses most of the features (see
example/main.dart).
Fixes #
GraphViewportand its children now get correctly clipped.GraphViewportnow correctly instantly builds newly added children.- Fixes a crash that happened when the viewport was moved in the widget tree.
- Fixes a layout problem with edges.
0.1.0 initial release #
- Introduces the following widgets:
GraphViewportGraphViewNodeWidgetEdgeWidget
- Introduces styling with:
GraphStyleNodeStyleEdgeStyle
- Built-in viewport panning, scaling and scrolling
- Built-in node and node group dragging