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.discover_vertex#

DFSVisitor.discover_vertex(v, t)[source]#

This is invoked when a vertex is encountered for the first time. Together we report the discover time of vertex v.