Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

When interacting with Mathematica, I often find myself staring blankly at waves of curly braces, trying to understand how data is organized hierarchically. For example, the beginning of the result to

WolframAlpha["temperature in Toronto yesterday", "DataRules"]

looks like this:

Waves of curly braces

To visualize the hierarchy, I typically turn to TreeForm, but that's often unwieldy. There's no way to collapse parts of the tree you don't care about (as there would be in, say, a file system browser), so the visualization frequently spreads well off screen or is illegibly small. For example,

TreeForm[WolframAlpha["temperature in Toronto yesterday", "DataRules"]]


TreeForm of a WolframAlpha query

Is there a better way?

share|improve this question
"staring blankly at waves of curly braces" is a song by Pink Floyd –  belisarius Oct 24 '13 at 0:09
TableForm works pretty well for that particular example. –  Pickett Oct 24 '13 at 0:25
Is something like this what you are looking for? mathematica.stackexchange.com/questions/29339/… –  Mike Honeychurch Oct 24 '13 at 1:46
Or this? –  cormullion Oct 24 '13 at 6:52
Thanks for the lead, @Mike. TraceView led me to the OpenerTree example in Virtual Book, which is a good start. –  duozmo Oct 24 '13 at 21:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.