The graph must be connected and the function produces a directed tree.
1 | direct_tree(g, root = NULL)
|
A graph. The directed tree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.