Tree Graph Layout Method
Description
Examples
The tree layout method recursively lays out the graph as a tree starting at the first vertex, or the specified root at the top.
This layout method works only in two dimensions.
with⁡GraphTheory:
G≔RandomGraphs:-RandomTree⁡25
G≔Graph 1: an undirected graph with 25 vertices and 24 edge(s)
DrawGraph⁡G,layout=tree
See Also
GraphTheory[DrawGraph]
Download Help Document