CircularLayout class
环形布局
- Inheritance
-
- Object
- GraphLayout
- CircularLayout
Constructors
Properties
-
center
↔ List<
SNumber> -
getter/setter pair
- clockwise ↔ bool
-
getter/setter pair
- endAngle ↔ num
-
结束的角度(该值可以大于360)
getter/setter pair
- endRadius ↔ SNumber?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- layoutEnd ← VoidCallback
-
no getterinherited
- layoutUpdate ← VoidCallback
-
no getterinherited
- radius ↔ SNumber?
-
当设置了Radius时 startRadius 和endRadius 将被忽略
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sizeFun
↔ Fun1<
GraphNode, Size> ? -
getter/setter pair
-
sort
↔ Fun2<
Graph, List< ?GraphNode> , Map<GraphNode, num> > -
排序
getter/setter pairinherited
- startAngle ↔ num
-
开始角度
getter/setter pair
- startRadius ↔ SNumber?
-
getter/setter pair
- workerThread ↔ bool
-
getter/setter pairinherited
Methods
-
computeRadius(
Graph graph, num width, num height) → List< num> - 计算半径
-
doLayout(
Context context, Graph graph, num width, num height) → void -
override
-
getNodeSize(
GraphNode node) → num -
getNodeSpace(
GraphNode node) → num -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onLayoutEnd(
) → void -
inherited
-
onLayoutUpdate(
) → void -
inherited
-
sortNode(
Graph graph, List< GraphNode> list) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited