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

This is invoked on vertex v after finish_vertex has been called for all the vertices in the DFS-tree rooted at vertex v. If vertex v is a leaf in the DFS-tree, then the finish_vertex function is called on v after all the out-edges of v have been examined. Together we report the finish time of vertex v.