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
hashCode int
The hash code for this object.
no setterinherited
offset double
Nodes zoom offset from center. 节点区域相对中心点的偏移量。
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size?
Stage size. 图形展示的区域边界
no setterinherited

Methods

compute(Vertex v, Graph graph) → void
Position setter.
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
toString() String
A string representation of this object.
inherited

Operators

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