Function depth

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

Calculate the depth of a node in the hierarchy.