FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    series

    series: crate::series::Series
    

    Source

    nodes

    nodes: Vec<SankeyNode>
    

    Source

    links: Vec<SankeyLink>
    

    Source

    node_width

    node_width: f64
    

    The width of a node rectangle, or the radial thickness of an arc node (12).

    Source

    node_padding

    node_padding: f64
    

    The gap between the nodes of a column (8).

    Source

    node_corner_radius

    node_corner_radius: f64
    

    Source

    layout_iterations

    layout_iterations: u32
    

    The relaxation sweeps of the vertical layout (32).

    Source

    node_label_position

    node_label_position: SankeyLabelPosition
    

    Source

    layout

    layout: SankeyLayoutKind
    

    Source

    arc_span_degrees

    arc_span_degrees: f64
    

    The angle each arc covers in the bipartite arc layout (150).

    Source

    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.

    Source

    new

    fn new(nodes: Vec<SankeyNode>, links: Vec<SankeyLink>) -> Self
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Default

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.