Skip to main content

GraphTree

GraphTree[g] constructs a tree from the tree graph g.

GraphTree[g,root] specifies what vertex to use as the root.

GraphTree[g,root,h] applies h to each vertex to get the corresponding data and ordering of subtrees.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.