MDSLayout class

高维数据降维算法布局

Inheritance

Constructors

MDSLayout(List<List<double>> distances, num dimension, num linkDistance)

Properties

dimension num
final
distances List<List<double>>
final
hashCode int
The hash code for this object.
no setterinherited
layoutEnd VoidCallback
no getterinherited
layoutUpdate VoidCallback
no getterinherited
linkDistance num
final
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
layout() List<Offset>
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