René Nyffenegger

NAME

GraphViz::Diagram::ClassDiagram::Class: A class that represents classes.

     my $graph = GraphViz::Diagram::ClassDiagram->new(…);

     my $class = $graph->class("ClassName");
     …

METHODS

new

    C<new> should not be directly called by the user. Instead, he should
    call C<< $graph->class(…) >>

file

comment

method

attribute

new

     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);

render

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() >.

colspan_

A private static method. Returns the necessary colspan='n' for <td>'s that are to span the entire table.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 219:

Unterminated C< ... > sequence