rustworkx.visit.DFSVisitor.forward_or_cross_edge

DFSVisitor.forward_or_cross_edge(e)[source]

This is invoked on forward or cross edges in the graph. In an undirected graph this method is never called.