SankeySeries
struct · ferroui-livecharts · v0.5.0
struct SankeySeries
A Sankey series: the name, visibility, paints and data labels of its Series, its nodes
(the source's Values) and links, and the layout settings of ISankeySeries with the
source's defaults.
Members
seriesnodeslinksnode_widthnode_paddingnode_corner_radiuslayout_iterationsnode_label_positionlayoutarc_span_degreeslink_fillnew
series
series: crate::series::Series
nodes
nodes: Vec<SankeyNode>
links
links: Vec<SankeyLink>
node_width
node_width: f64
The width of a node rectangle, or the radial thickness of an arc node (12).
node_padding
node_padding: f64
The gap between the nodes of a column (8).
node_corner_radius
node_corner_radius: f64
layout_iterations
layout_iterations: u32
The relaxation sweeps of the vertical layout (32).
node_label_position
node_label_position: SankeyLabelPosition
layout
layout: SankeyLayoutKind
arc_span_degrees
arc_span_degrees: f64
The angle each arc covers in the bipartite arc layout (150).
link_fill
link_fill: Option<ferroui_base::media::Color>
The fill of the ribbons. None takes the theme's, the series colour at alpha 90; a
transparent colour is the source's LinkFill = null, which fills the ribbons like the
nodes.
new
fn new(nodes: Vec<SankeyNode>, links: Vec<SankeyLink>) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.