sankey_arc_layout
function · ferroui-livecharts · v0.5.0
fn sankey_arc_layout(nodes: &[SankeyNode], links: &[SankeyLink], rect: ferroui_base::Rect, node_width: f64, node_padding: f64, arc_span_degrees: f64, label_margin: f64) -> Result<SankeyArcLayout, ChartError>
The bipartite arc layout (SankeyLayout.ComputeBipartiteArc): the sources on a left arc
centred at 180 degrees, the sinks on a right arc centred at 0, each node a sweep proportional
to its value, and the four chord ends of every link on the inner radius. label_margin is the
radial room reserved outside the arcs for the labels.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.