DagreLayout class

层次布局

Inheritance

Constructors

DagreLayout(Config config, Fun1<GraphNode, Size> sizeFun, {bool multiGraph = false, bool compoundGraph = true, bool directedGraph = true})

Properties

compoundGraph → bool
final
config → Config
final
directedGraph → bool
final
hashCode → int
The hash code for this object.
no setterinherited
layoutEnd ← VoidCallback
no getterinherited
layoutUpdate ← VoidCallback
no getterinherited
multiGraph → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeFun → Fun1<GraphNode, Size>
final
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