Find the root of a tree (or the multiple roots for a non-rooted tree)
1 2 3 4 5 6 7 8 9
root returns a node, the root of the tree if it exists;
.tree is not rooted, an error is thrown.
roots returns a list of nodes, the roots of the tree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.