Subject: | simple test fails |
Perl v5.8.0
GraphViz 2.0.1
Suse Linux 2.4.19-4GB #1 Fri Sep 13 13:14:56 UTC 2002 i686
Error Message :
set_attribute: not a compat02 graph at /usr/lib/perl5/site_perl/5.8.0/Graph.pm line 2253
Sample program:
#!/usr/bin/perl
use GraphViz;
my $g = GraphViz->new();
$g->add_node('London');
$g->add_node('Paris', label => 'City of\nlurve');
$g->add_node('New York');
$g->add_edge('London' => 'Paris');
$g->add_edge('London' => 'New York', label => 'Far');
$g->add_edge('Paris' => 'London');
print $g->as_png;
Thanks,
Praveen