stag-drawtree - draws a stag file (xml, itext, sxpr) as a PNG diagram
stag-drawtree -o my.png myfile.xml stag-drawtree -p My::MyFormatParser -o my.png myfile.myfmt
requires GD library and GD perl module
FORMAT is one of xml, sxpr or itext, or the name of a perl module
xml assumed as default
Data::Stag
To install Data::Stag, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Stag
CPAN shell
perl -MCPAN -e shell install Data::Stag
For more information on module installation, please visit the detailed CPAN module installation guide.