This functions generates all possible trees with for a given set of leaf nodes.

generate_all_trees(leaves)

Arguments

leaves

The leaf nodes

Value

A list of trees in igraph format