is an option to Tree and related functions that specifies what layout to use.


TreeLayout
is an option to Tree and related functions that specifies what layout to use.
Details

- TreeLayout allows the same tree to be graphically displayed in different orientations and two-dimensional embeddings.
- Possible layouts include:
-
Automatic automatically select a layout pos orientation with the root at position pos "emb" named embedding - Possible orientation positions pos include:
-
Top root at the top Bottom root at the bottom Left root on the left Right root on the right - Possible named embeddings "emb" include:
-
"BalloonEmbedding" subtrees on a circle with the center at the parent "RadialEmbedding" subtrees on a circular segment "LayeredEmbedding" subtrees on parallel lines "LayeredDigraphEmbedding" subtrees on parallel lines, with alternative suboptions
Examples
open all close allSee Also
Related Guides
History
Text
Wolfram Research (2021), TreeLayout, Wolfram Language function, https://reference.wolfram.com/language/ref/TreeLayout.html.
CMS
Wolfram Language. 2021. "TreeLayout." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TreeLayout.html.
APA
Wolfram Language. (2021). TreeLayout. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TreeLayout.html
BibTeX
@misc{reference.wolfram_2025_treelayout, author="Wolfram Research", title="{TreeLayout}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/TreeLayout.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_treelayout, organization={Wolfram Research}, title={TreeLayout}, year={2021}, url={https://reference.wolfram.com/language/ref/TreeLayout.html}, note=[Accessed: 15-August-2025]}