Tree Graph Layout Method - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Tree Graph Layout Method

 

Description

Examples

Description

• 

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.

Examples

> 

with⁡GraphTheory:

> 

G≔RandomGraphs:-RandomTree⁡25

G≔Graph 1: an undirected graph with 25 vertices and 24 edges

(1)
> 

DrawGraph⁡G,layout=tree

See Also

GraphTheory[DrawGraph]