SankeyDataSet class
Combines nodes and links with layout logic
The SankeyDataSet class holds the list of nodes and links, and provides a layout method that applies the given Sankey layout generator to compute the positions and dimensions for the nodes and links
Constructors
-
SankeyDataSet.new({required List<
SankeyNode> nodes, required List<SankeyLink> links})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
links
→ List<
SankeyLink> -
final
-
nodes
→ List<
SankeyNode> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
layout(
Sankey sankey) → void -
Computes the layout for the nodes and links using the provided
sankey
generator. -
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