Skip to main content

node_box

Function node_box 

Source
pub fn node_box(
    label: &str,
    value: Option<&str>,
    badge: Option<&str>,
    spark: bool,
) -> NodeBox
Expand description

The box a node needs: its label wrapped onto at most three lines, plus a line for value, a badge row for badge and a sparkline strip when spark (as draw fills it).