pub fn states_box(
label: &str,
value: Option<&str>,
badge: Option<&str>,
states: &[String],
) -> NodeBoxExpand description
The box a discrete node needs (a Bayesian network’s node, Netica /
GeNIe style): node_box’s label, value and badge, then one row per
state (its name, a bar and the probability as text), as draw fills
it from DrawNode::states. No states: node_box.