pub fn scheme_layout_options(
kind: DiagramKind,
opts: &LayoutOpts,
) -> BTreeMap<String, String>Expand description
Backend-agnostic LayoutOpts → ELK layoutOptions map.
Reaction diagrams pack tightly (node spacing ~20, layer spacing ~0) and pin
unnecessaryBendpoints=false so shafts only bend where they turn.