Skip to main content

density_box

Function density_box 

Source
pub fn density_box(
    label: &str,
    value: Option<&str>,
    badge: Option<&str>,
    text: &str,
) -> NodeBox
Expand description

The box a continuous node needs: node_box’s label, value and badge, then its density and a text line (DrawNode::density).