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})
OnPointerDown = void Function(PointerDownEvent)
OnPointerHover = void Function(PointerHoverEvent)
OnPointerSignal = void Function(PointerSignalEvent)
OnPointerUp = void Function(PointerUpEvent)
OnScaleStart = void Function(ScaleStartDetails)
OnScaleUpdate = void Function(ScaleUpdateDetails)
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.