Skip to main content

diamond_box

Function diamond_box 

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

The diamond a NodeShape::Diamond needs for its label and an optional value line: the text’s box, its corners on the diamond’s edges.