widget/force_directed_graph_widget library
Classes
- ForceDirectedGraphBody
- ForceDirectedGraphParentData
- ForceDirectedGraphRenderObject
-
ForceDirectedGraphWidget<
T> - A widget that displays a force-directed graph.
- PaintBoundChangeNotification
Typedefs
-
EdgeBuilder<
T> = Widget Function(BuildContext context, T a, T b, double distance) -
A builder that builds an edge.
contextis the build context.ais the data of the node at the start of the edge.bis the data of the node at the end of the edge.distanceis the distance between the two nodes. -
NodeBuilder<
T> = Widget Function(BuildContext context, T data) -
A builder that builds a node.
contextis the build context.datais the data of the node.