Is there an efficient way to output a tree of values similar to the output of
TreeForm[1[2, 3[4[1, 2], 5[3, 4], 6[1, 2, 3, 4, 5]]]]
Why do I want this?
My purpose is to analyze the output of my lab classes. For that, I need to "structure" my data to do the calculations, using partitions etc. I have an example here. I would like to be able to get a graphic output of the "structure" created.
Imagine, however, that I need to add a level to this tree with some function. It doesn't seem very practical. And using numbers as heads is a little disturbing for me.
Thank you for reading.