FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SankeyNode

    struct · ferroui-controls-livecharts · v0.5.0

    struct SankeyNode
    

    A node of a Sankey series (SankeyNode): its label and, in place of the source's NodeColorMapper, an optional colour of its own. Links refer to the node object, as the source links by reference; its value is computed by the layout.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<SankeyNode>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    with_name

    fn with_name(name: impl Into<String>) -> Ref<Self>
    

    A node with the given label (SankeyNode(name)).

    Source

    entity_id

    fn entity_id(self: &Self) -> u64
    

    The identity of the object, which the links and the engine use.

    Source

    snapshot

    fn snapshot(self: &Self) -> ferroui_livecharts::SankeyNode
    

    Source

    name

    fn name(self: &Self) -> String
    

    Source

    set_name

    fn set_name(self: &Self, value: String)
    

    Source

    color

    fn color(self: &Self) -> Option<Color>
    

    Source

    set_color

    fn set_color(self: &Self, value: Option<Color>)
    

    Source

    name_property

    fn name_property() -> &'static StyledProperty<String>
    

    Source

    color_property

    fn color_property() -> &'static StyledProperty<Option<Color>>
    

    Source

    Trait implementations

    Availability

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