Description Usage Arguments Value
Find the root of a tree (or the multiple roots for a non-rooted tree)
1 2 3 4 5 6 7 8 9 |
.tree |
A tree. |
root
returns a node, the root of the tree if it exists;
if .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.