fn entered_node<NodeId>(
    entered: &mut Vec<(NodeId, Vec<NodeId>)>,
    node: NodeId,
    children: Vec<NodeId>
) where
    NodeId: Eq + Hash
Expand description

Add to entered that we have entered node and node has children.