rustworkx.visit.BFSVisitor.non_tree_edge#

BFSVisitor.non_tree_edge(e)[source]#

This is invoked on back or cross edges for directed graphs and cross edges for undirected graphs.