FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    sankey_chart_engine

    module · ferroui-livecharts · v0.5.0

    module sankey_chart_engine
    

    Sankey measurement adapted from the pinned SankeyLayout, SankeyChartEngine and CoreSankeySeries, with the shapes of the SkiaSharp SankeyRibbonGeometry, SankeyChordRibbonGeometry and SankeyArcSegmentGeometry: the d3-sankey layout (columns by the longest path from the sources, the sweep relaxation of the node positions, the link bands stacked in the order of their other end), the bipartite arc layout with chord ribbons, the node labels and the room they reserve, and the hover areas of the nodes. Pure calculation produces a retained scene that the native controls draw like the other chart scenes.

    The source identifies nodes and links by reference; here a node is identified by its id, and a node whose id repeats an earlier one is skipped, as the source skips a repeated reference.

    View source

    Contents

    Availability

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