pub fn chain_role_for_node_kind(kind: &NodeKind) -> ChainStepRoleExpand description
Map a graph NodeKind to its coarse ChainStepRole.
Exhaustive by design (no wildcard arm): adding a NodeKind must be
classified here rather than silently falling through to Other.