pub fn annotate_hk(graph: &mut Graph, flow_kinds: &HashSet<String>)
Annotate fan_in / fan_out / fan_out_external / hk on every internal node, counting only flow edges. External nodes carry no coupling metrics.
fan_in
fan_out
fan_out_external
hk