![]() |
![]()
| ![]() |
![]()
NAMEUML::Sequence - Render UML sequence diagrams, often by running the code. SYNOPSISuse UML::Sequence; my $tree = UML::Sequence->new(\@methods, \@outline, \&parse_method); print $tree->build_xml_sequence('Title'); DESCRIPTIONTo use this package, or see how to use it, see genericseq.pl and seq2svg.pl. This class helps produce UML sequence diagrams. build_xml_sequence returns a string (suitable for printing to a file) which the seq2svg.pl script converts into svg. To control the appearance of the sequence diagram, pass to the constructor: 1 a reference to an array containing the signatures you want to
hear about
To build the array references and supply the code reference consult UML::Sequence::SimpleSeq, UML::Sequence::JavaSeq, or UML::Sequence::PerlSeq. To see one way to call these look in the supplied genericseq script. EXPORTNone, this module is object oriented. AUTHORPhil Crow, <philcrow2000@yahoo.com> Version 0.06 updates by Dean Arnold, <darnold@presicient.com> SEE ALSOgenericseq.pl seq2svg.pl seq2rast.pl COPYRIGHTCopyright(C) 2003-2006, Philip Crow, all rights reserved. You may modify and/or redistribute this code in the same manner as Perl itself.
|