UnlabeledTree
UnlabeledTree[tree]
returns a tree of the same shape as tree in which the nodes and edges are displayed without labels.
Details and Options
- UnlabeledTree shows the overall structure of a Tree object.
- By default, UnlabeledTree gives a tree with Null as the data of each node.
- If the original tree has options, they will be modified to eliminate labels in the output.
Examples
open allclose allOptions (4)
Tree Layout and Graphics Options (3)
Properties & Relations (2)
UnlabeledTree overrides TreeElementLabel and ParentEdgeLabel specifications given by subtrees:
UnlabeledTree[ExpressionTree[expr]] removes all data and labels from an expression tree:
ExpressionTree[expr,Null] gives an expression tree with no data directly:
Text
Wolfram Research (2022), UnlabeledTree, Wolfram Language function, https://reference.wolfram.com/language/ref/UnlabeledTree.html.
CMS
Wolfram Language. 2022. "UnlabeledTree." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/UnlabeledTree.html.
APA
Wolfram Language. (2022). UnlabeledTree. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UnlabeledTree.html