Navigation

Operators and Keywords

Function List:

C++ API

: treelayout (tree)
: treelayout (tree, permutation)

treelayout lays out a tree or a forest.

The first argument tree is a vector of predecessors.

The parameter permutation is an optional postorder permutation.

The complexity of the algorithm is O(n) in terms of time and memory requirements.

See also: etreeplot, gplot, treeplot.

Package: octave