CircleLayout class
- Inheritance
-
- Object
- GraphAlgorithm
- CircleLayout
Constructors
- CircleLayout([dynamic decorator])
Properties
-
$size
↔ ValueNotifier<
Size?> -
Notify the size change event.
getter/setter pairinherited
- center → Offset
-
Center of stage.
图形展示的中心点
no setterinherited
- decorator ↔ 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.
对节点进行定位设值
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDrag(
Vertex hoverVertex, DragUpdateInfo info, Viewfinder viewfinder) → void -
inherited
-
onGraphLoad(
Graph graph) → void -
override
-
onLoad(
Vertex v) → void -
Called when the graph is loaded.
inherited
-
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