Note

This is the documentation for the current state of the development branch of rustworkx. The documentation or APIs here can change prior to being released.

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.