CircleLayout class

Inheritance

Constructors

CircleLayout({List<GraphAlgorithm>? decorators})

Properties

$size ValueNotifier<Size?>
Notify the size change event.
getter/setter pairinherited
center Offset
Center of stage. 图形展示的中心点
no setterinherited
decorators List<GraphAlgorithm>?
Algorithm decorate support. 定位算法的装饰器,可多个算法同时使用。
getter/setter pairinherited
graphComponent GraphComponent?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
horizontalOverlay Widget Function()?
getter/setter pairinherited
leftOverlay Widget Function()?
getter/setter pairinherited
offset double
Nodes zoom offset from center. 节点区域相对中心点的偏移量。
no setterinherited
rootAlg GraphAlgorithm?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size?
Stage size. 图形展示的区域边界
no setterinherited
verticalOverlay Widget Function()?
getter/setter pairinherited
world World?
getter/setter pairinherited

Methods

afterDrag(Vertex vertex, Vector2 globalDelta) → void
inherited
beforeLoad(dynamic data) → void
inherited
beforeMerge(dynamic data) → dynamic
inherited
compute(Vertex v, Graph graph) → void
Position setter.
inherited
hideHorizontalOverlay() → void
inherited
hideOverlay(String name) → void
inherited
hideVertexTapUpOverlay() → void
inherited
hideVerticalOverlay() → void
inherited
horizontalOverlays({required World world, required GraphAlgorithm rootAlg, required GraphComponent graphComponent}) List<Widget>?
inherited
leftOverlays({required World world, required GraphAlgorithm rootAlg, required GraphComponent graphComponent}) List<Widget>?
inherited
needContinue(Vertex v) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDrag(Vertex hoverVertex, Vector2 globalDelta, Viewfinder viewfinder) → void
inherited
onGraphLoad(Graph graph) → void
override
onLoad(Vertex v) → void
Called when the graph is loaded.
override
onZoomEdge(Edge edge, Vector2 pointLocation, double delta) → void
inherited
onZoomVertex(Vertex vertex, Vector2 pointLocation, double delta) → void
inherited
repositionWhenCollision(Vertex me, Vertex another) → void
Vertexes will be reposition when they collided with another.
inherited
setGlobalData({required World world, required GraphAlgorithm rootAlg, required GraphComponent graphComponent}) → dynamic
inherited
toString() String
A string representation of this object.
inherited
verticalOverlays({required World world, required GraphAlgorithm rootAlg, required GraphComponent graphComponent}) List<Widget>?
inherited

Operators

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