pub fn diagram_weight(weight: f64) -> f64Expand description
Map user-facing mol weight → absolute ink multiplier (≥ 1).
Call this (or helpers that call it) with the public weight field — never
with an already-converted absolute value.
§Panics
Panics if weight is non-finite or < WEIGHT_MIN.