my.dfs | R Documentation |
It is used for internal purposes.
my.dfs(graph, root = NULL)
graph |
The tree |
root |
The starting node of DFS. |
a list with father
representing the parent node, and
balance.depth
representing the distance between the node and
the farthest node to it, as the elements.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.