Options class

The core api for Graph Options.

图配置项

Constructors

Options()

Properties

backgroundBuilder BackgroundBuilder
use for create background widget.
getter/setter pair
edgePanelBuilder EdgePanelBuilder?
The builder of the edge data panel, triggered when the mouse hovers.
getter/setter pair
edgeShape EdgeShape
set shape strategy for components of edge.
getter/setter pair
enableHit bool
if enable hit.
getter/setter pair
graphStyle GraphStyle
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onVertexTapCancel ↔ dynamic Function(Vertex vertex, TapCancelEvent)?
@en: event callback when tap cancel on vertex.
getter/setter pair
onVertexTapDown ↔ dynamic Function(Vertex vertex, TapDownEvent)?
@en: event callback when tap down on vertex.
getter/setter pair
onVertexTapUp ↔ dynamic Function(Vertex vertex, TapUpEvent)?
@en: event callback when tap up on vertex.
getter/setter pair
panelDelay Duration?
@en: the delay of overlay disappear.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleRange Vector2
@en: the graph scale range. default to Vector2(0.05, 5)
getter/setter pair
showText bool
@en: if show text in vertex. default vertex.id, if you want to show other text, you can set textGetter.
getter/setter pair
textGetter String Function(Vertex)
@en: the text getter of vertex.
getter/setter pair
useLegend bool
if render legend in canvas.
getter/setter pair
vertexPanelBuilder VertexPanelBuilder?
The builder of the vertex panel, triggered when the mouse hovers.
getter/setter pair
vertexShape VertexShape
set shape strategy for components of vertex.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited