René Nyffenegger

METHODS

new

Creates an instance for a GlobalVar. Should (as of now) not be called by the user. It's called by "global_var" in GraphViz::Diagram::ClassDiagram instead.

class

    my $class_diagram = GraphViz::Diagram::ClassDiagram->new('foo.png');

    my $CFoo  = $class_diagram->class     ('CFoo' );
    my $g_foo = $class_diagram->global_var('g_foo')

    $g_foo->class($CFoo);

    $class_diagram->create();

Specify the class of the GlobalVar.

render

Renders the html for the GlobalVar. Should not be called by the user, it's called by "create" in GraphViz::Diagram::ClassDiagram.