Help for this page

Select Code to Download


  1. or download this
    @commands = ("add_node('W1')", "add_node('W2')", "add_edge('W2' => 'W1
    +')");
    
  2. or download this
    use GraphViz; 
    my $g = GraphViz->new(); 
    foreach $command (@commands) {
     $g->$command; 
     }