[][src]Function gh_stack::graph::log

pub fn log(graph: &Graph<Rc<PullRequest>, usize>) -> FlatDep

Return a flattened list of graph nodes as tuples; each tuple is (node, node's parent [if exists]). TODO: Panic if this isn't a single flat list of dependencies