GraphViz::Diagram::ClassDiagram::Class: A class that represents classes.
GraphViz::Diagram::ClassDiagram::Class
my $graph = GraphViz::Diagram::ClassDiagram->new(…); my $class = $graph->class("ClassName"); …
C<new> should not be directly called by the user. Instead, he should call C<< $graph->class(…) >>
my $class_base = $class_diagram->class("CBase"); my $class_derv = $class_diagram->class("CDerived"); $class_derv -> inherits_from($class_base); # Multiple base classes $class_xyz -> inherits_from($class_abc, $class_def, $class_ghi);
Renders the html for the Class. Should not be called by the user, it's called by "create" in GraphViz::Diagram::ClassDiagram.
Returns an GraphViz::Graph::Node that can be used in GraphViz::Graph -> edge() >.
-> edge() >.
edge()
A private static method. Returns the necessary colspan='n' for <td>'s that are to span the entire table.
colspan='n'
<td>
1 POD Error
The following errors were encountered while parsing the POD:
Unterminated C< ... > sequence
To install GraphViz::Diagram::ClassDiagram, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GraphViz::Diagram::ClassDiagram
CPAN shell
perl -MCPAN -e shell install GraphViz::Diagram::ClassDiagram
For more information on module installation, please visit the detailed CPAN module installation guide.