UML::Class::Simple

UML::Class::Simple is a Perl module that can render simple UML class diagrams, by loading the code.
Download

UML::Class::Simple Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Agent Zhang
  • Publisher web site:
  • http://search.cpan.org/~agent/OpenResty-0.3.14/lib/OpenResty/Spec/Overview.pod

UML::Class::Simple Tags


UML::Class::Simple Description

UML::Class::Simple is a Perl module that can render simple UML class diagrams, by loading the code. UML::Class::Simple is a Perl module that can render simple UML class diagrams, by loading the code.SYNOPSIS use UML::Class::Simple; # produce a class diagram for Alias's PPI # which has already installed to your perl: @classes = classes_from_runtime("PPI", qr/^PPI::/); $painter = UML::Class::Simple->new(@classes); $painter->as_png('ppi.png'); # produce a class diagram for your CPAN module on the disk @classes = classes_from_files(); $painter = UML::Class::Simple->new(@classes); # we can explicitly specify the image size $painter->size(5, 3.6); # in inches # ...and change the default title background color: $painter->node_color('#ffffff'); # defaults to '#f1e1f4' # only show public methods and properties $painter->public_only(1); $painter->as_png('my_module.png');UML::Class::Simple is a Perl CPAN module that generates UML class diagrams (PNG format, GIF format, or dot source) automatically from Perl 5 source or Perl 5 runtime.Perl developers can use this module to obtain pretty class diagrams for arbitrary existing Perl class libraries (including modern perl OO modules based on Moose.pm), by only a single command. Companies can also use the resulting pictures to visualize the project hierarchy and embed them into their documentation.The users no longer need to drag a mouse on the screen so as to draw figures themselves or provide any specs other than the source code of their own libraries that they want to depict. This module does all the jobs for them!You know, I was really impressed by the outputs of UML::Sequence, so I decided to find something to (automatically) get pretty class diagrams too. The images from Autodia's Graphviz backend didn't quite fit my needs when I was making some slides for my presentations.I think most of the time you just want to use the command-line utility umlclass.pl offered by this module (just like me). See the documentation of umlclass.pl for details. Requirements: · Perl


UML::Class::Simple Related Software