Mathematica > Core Language > Expressions > Expression Structure >

TreeForm

TreeForm[expr]
displays expr as a tree with different levels at different depths.
TreeForm[expr, n]
displays expr as a tree only down to level n.
  • VertexLabeling->Automatic does not display expression fragments at each node, but still gives subtree expression as tooltips.
New in 1 | Last modified in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team