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.
GlobalVar
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.
Renders the html for the GlobalVar. Should not be called by the user, it's called by "create" in GraphViz::Diagram::ClassDiagram.
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.