GraphLayoutAlgorithm<L extends Layout> class
abstract
Performs one Layout type L: a pure Dart algorithm, worker, isolate or
remote layout service. Algorithms calculate positions only; they never
mutate a diagram or camera. controller.layout(layout) runs the installed
algorithm for the layout's type.
Constructors
- GraphLayoutAlgorithm()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- layoutType → Type
-
The layout type this algorithm performs; one installed algorithm per
type.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
layout(
GraphLayoutRequest request, L layout) → FutureOr< GraphLayoutResult> - Positions every request node, keeping pinned nodes where they are.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited