tracts.hybrid_pedigree.tree_to_array# tree_to_array(tree, max_nodes)# Convert a tree to its array representation.