How to generate a graphical plot of a tree data structure
I have a 'dependency hell' type situation at work that comes up over and over, and I want a way to generate a plot of the dependency tree, to help humans visualize it.
I can build the dependency tree up manually with my program, which would probably be perl, but I'm trying to find a way to actually generate a plot whether with a perl module, gnuplot, or something i've never heard of. Output format can be svg, png, pdf, whatever.
I looked into the qtree package for \LaTeX, but my \LaTeX skills are not great. The results are pretty however.
It would be extra-cool if the result had collapsible nodes--that you could click to expand...so much so that I considered writing the notes as empty files in nested directories and using a file-browser to visualize them! However, writing empty files just so that I can use a gui file browser for visualization is a bit silly, but that's pretty much what I want.
Any ideas appreciated.