Perl-Sensitive Sunglasses | |
PerlMonks |
Re: representing a tree graphically...by clemburg (Curate) |
on Jan 09, 2002 at 21:13 UTC ( [id://137496]=note: print w/replies, xml ) | Need Help?? |
OK, after looking at your sample output I realize this is not what you need ... but anyway, for those that have a similar need (visualizing tree structures) let me point out GraphViz, the Perl interface to the GraphViz tool. With GraphViz installed, making a little nice postscript (could be PNG, too, or whatever you can postscript convert too) image of your treepath input from above (assumed to be in file try.txt below) becomes as easy as this little shell script:
Where file try.txt is:
Christian Lemburg
In Section
Seekers of Perl Wisdom
|
|