RandomLayout class
随机布局
- Inheritance
-
- Object
- GraphLayout
- RandomLayout
Constructors
-
RandomLayout({List<
SNumber> center = const [SNumber.percent(50), SNumber.percent(50)]})
Properties
-
center
↔ List<
SNumber> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- layoutEnd ← VoidCallback
-
no getterinherited
- layoutUpdate ← VoidCallback
-
no getterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sort
↔ Fun2<
Graph, List< ?GraphNode> , Map<GraphNode, num> > -
排序
getter/setter pairinherited
- workerThread ↔ bool
-
getter/setter pairinherited
Methods
-
doLayout(
Context context, Graph graph, num width, num height) → void -
override
-
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