powered by
It is used for internal purposes.
my.dfs(graph, root = NULL)
a list with father representing the parent node, and
father
balance.depth representing the distance between the node and the farthest node to it, as the elements.
balance.depth
The tree
The starting node of DFS.