flutter_graph_view 1.1.3 copy "flutter_graph_view: ^1.1.3" to clipboard
flutter_graph_view: ^1.1.3 copied to clipboard

Widgets for beautiful graphic data structures, such as force-oriented diagrams.

1.1.3 #

  • feat: EdgeLineShape can append decorators.

    • feat: 使 EdgeLineShape 可以追加装饰器。
        Options()
            ..edgeShape = EdgeLineShape(
                decorators: [
                    DefaultEdgeDecorator(),
                ],
            )
    
  • fix: the edge overlap problem of multiple edge graphs with two identical nodes.

  • fix: Edge with the same parameters except for different edge type is misdiagnosed as the same edge.

  • fix: correct the position of the two points of the edge.

    • fix: 修正边的两个点的位置。

1.1.2 #

  • feat: support specifying legends and legend text build.

    example:

    Options()
        ..legendBuilder = (color, i) { // default
            return RectangleComponent.fromRect(
                Rect.fromLTWH(40, 50.0 + 30 * i, 30, 18),
                paint: Paint()..color = color,
            );
        }
        ..legendTextBuilder = (tag, i, color, position) { // default
            return TextComponent(
                text: tag,
                position: Vector2(position.x + 40, position.y - 6),
                // position: Vector2(position.x + 40, position.y - 2),
                // textRenderer: TextPaint(
                //   style: TextStyle(
                //     fontSize: 17.0,
                //     color: Colors.white,
                //   ),
                // ),
            );
        }
    

1.1.1 #

  • fix usage of both Scale and Pan on mobile platforms. ( #12, via: Mykyta Sadchenko)
  • feat: support zooming through gestures.

1.1.0 #

  • feat: add interface to GraphComponent: addVertex, addEdge, mergeGraph
  • feat: add implementation of PersistenceDecorator to store position of vertex. (#10 #11, via: jersonal-com)

Behavior change: #

  • interface change: add a graph parameter to DataConvertor.convertGraph

    接口变更:为 convertGraph 添加一个graph参数

1.0.4+2 #

  • fix: prevent the addition of duplicate data.

1.0.4+1 #

  • fix: vertex text style background not working.

1.0.4 #

  • feat: support specifying vertex text style.

1.0.3 #

  • feat add a choice to HookeBorderDecorator, to control the border of the graph.
  • fix: make CoulombCenterDecorator a usable decorator.

1.0.2 #

  • feat: add a decorator for the anti Coulomb force rule.

1.0.1 #

  • feat: make opacity configurable for vertex and edge. options.hoverOpacity
  • perf: adjusting the parameters of the decorators.

1.0.0 #

  • feat: add a series of decorators to the GraphAlgorithm.

Behavior change: #

  • Changed the parameter of the GraphAlgorithm constructor from [decorator] to {decorators}

0.3.0 #

  • perf: use panelDelay in the options to control the delay time of the display panel.
  • fix: hover testing of edges, multiple edges and self loops
  • fix: edge overlap, when there are even numbers of edges between two points
  • fix: let the self loop follow the scaling law.
  • feat: self loop support
  • refac: adjusting the file structure of the VertexTextRenderer interface
  • fix: graph crash, when there is no panelBuilder.

0.2.4+1 #

  • fix: graph crash, when there is no panelBuilder.

0.2.4 #

  • feat: synchronously update panel positions, when dragging nodes.

0.2.3 #

  • feat: add method: displayName to VertexComponent. Used textGetter.

0.2.2+2 #

  • fix: edge panel display issue. Make overlay name unique.
  • fix: increase the mouse touch area on the edge.

0.2.2+1 #

  • fix: graph crash, when there is no panelBuilder.

0.2.2 #

  • fix: #6
    • change the loading timing of the panel to be at the same time as vertex/edge components loading.
    • change the panel to correspond one-to-one with the components.
  • feat: add 'panelDelay' to options to control the delay time hidden in the panel.

0.2.1 #

  • feat: add property of size to Vertex.

0.2.0 #

  • feat: add textGetter to vertex
  • feat: add onGraphLoad callback in graph_algorithm
  • feat: add CircleLayout for graph
  • enhance: set edge color by vertex color

0.1.0 #

  • feat: Added option to 'Enable collision detection'(enableHit), default to false
  • feat: Added option to 'scaleRange', default to [0.05, 5.0]
  • feat: Display vertex title, default to vertex.id
  • refact: refact the interactive logic of drag and zoom by viewfinder

Dev change: #

  • vertexPanelBuilder and edgePanelBuilder access another param: Viewfinder use Viewfinder to convert the position of the component to the global position, such as:
        viewfinder.localToGlobal( cpnPosition );
    

0.0.2 #

  • feat: enable decorator for vertex.

    • Remove the breath effect. To use the breath effect, please pass in BreatheDecorator() when creating the GraphAlgorithm object, such as:
    FlutterGraphWidget(
        ...
        algorithm: ForceDirected(BreatheDecorator()),
        ...
    )
    
  • feat: adding custom properties to vertex components helps the algorithm create more effects.

  • dependency: upgrade flame from 1.6.0 to 1.7.0

0.0.1+10 #

  • feat: support multi line between two vertexes.
  • enhance: optimized edge experience.
    • hover height 1->3
    • edge highlight when component hovered. image

0.0.1+9 #

  • feat: create random color for tag.
  • feat: add legend in graph.

0.0.1+8 #

  • feat(convert): cache the edge names and vertex tags in graph.
  • feat: support customize background.
  • feat(options style): support assigning colors to vertexes through tags (name or index).

0.0.1+7 #

  • feat: supported customize vertex ui.
  • feat: supported customize edge ui.

0.0.1+6 #

  • Data panel embedding. ( For edge )
  • Fixed: components overflow game window.
  • Fixed: Options.vertexPanelBuilder nullable as expected.

0.0.1+5 #

  • Keep children vertexes around the parent vertex.
  • Data panel embedding.

0.0.1+4 #

  • Support zoom in and zoom out.
  • Support global drag and vertex drag.
  • Support custom reposition collision callbacks.

0.0.1+3 #

  • Provide placement scheme of random positions in the circle with collision detection.

0.0.1+2 #

  • Integrated game engine to do data display. ( nodes | relationships )
  • Provided layout algorithm interface.
  • Provided data convertor interface.
56
likes
0
pub points
80%
popularity

Publisher

verified publisherdudu.ltd

Widgets for beautiful graphic data structures, such as force-oriented diagrams.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flame, flutter

More

Packages that depend on flutter_graph_view