Function hugr_core::utils::depth

source ยท
pub fn depth(h: &Hugr, n: Node) -> u32
Expand description

Calculate the depth of a node in the hierarchy.