Question: tree data structure

Is there any command or package which allows me to construct a general rooted tree? It seems that the GraphTheory package can only construct complete binary trees or complete k-ary trees...... More generally, how can I program or organize my data using a tree data structure?

Thanks,

Peter

Please Wait...