circlegraph 0.0.6
circlegraph: ^0.0.6 copied to clipboard

Create graphs with a root node and several child nodes. Multiple layers of nodes in a circle and multiple circles in a larger graph.

Circlegraph #

A Flutter plugin for creating graphs where a single node is in the center and a number of child nodes are spread evenly around this central root node.

Features #

  • Provide only the data which should be displayed, no need to worry about placement;
  • The widget has a finite size, which means it can be placed in ScrollViews, Columns, etc;
  • An onClick callback can be provided to react when the user clicks on a node;
  • A tooltip builder can be provided to show more information about elements in the graph when the user hovers over a node;
  • Fully customize the graphs appearance by using custom widgets for nodes and providing custom colors to the widget;
  • Place multiple CircleGraphs inside one larger graph using BubbleGraph

Usage #

To add the package to your project, read the install instructions on pub.dev. No additional setup-steps are required, the package works out of the box.

Example #

A simple graph, put into a circle-shaped Container could look something like this:

alt text

To achieve a similar result, have a look at the Example section.

alt text

4
likes
100
pub points
47%
popularity

Publisher

manuelh.at

Create graphs with a root node and several child nodes. Multiple layers of nodes in a circle and multiple circles in a larger graph.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, vector_math

More

Packages that depend on circlegraph