core/options library

Classes

Options
The core api for Graph Options.

Typedefs

BackgroundBuilder = Widget Function(BuildContext context)
@en: use for create background widget.
EdgePanelBuilder = Widget Function(Edge hoverEdge)
@en: The builder of the edge data panel, triggered when the mouse hovers.
GraphComponentBuilder = Widget Function({required GraphAlgorithm algorithm, required BuildContext context, required DataConvertor convertor, required dynamic data, required Graph graph, Key? key, required Options options})
VertexPanelBuilder = Widget Function(Vertex hoverVertex)
@en: The builder of the vertex panel, triggered when the mouse hovers.
VertexTextStyleGetter = TextStyle? Function(Vertex vertex, VertexShape? shape)
@en: The getter of the vertex text style.