Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Project Management: Graph & Diagram for Visualizing & Analyzing Structure with GraphViz

by chunlou (Curate)
on Jul 29, 2003 at 18:29 UTC ( [id://278918]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use GraphViz;
    ...
        </C>
        <C title="Adviser" name="Bob"/>
    </Boss>
    
  2. or download this
    use strict;
    use warnings;
    ...
    $VShape->{Text} = "New Name";
    print $VShape->{Text};
    $VDoc->SaveAs($path."test2.vsd");
    
  3. or download this
    use strict;
    use warnings;
    ...
    $g->add_edge('email' => 'thankC', label => 'creditor/collector');
    $g->add_edge('email' => 'thankD', label => 'debtor');
    $g->as_jpeg("email01.jpg");
    
  4. or download this
    $g = GraphViz->new(node => {fontsize => 10}, edge => {fontsize => 9}, 
    +rankdir => 'LR');
    $g->add_node('email', label => "Email App:\nperiodic DB query\nto send
    + emails", shape => 'box');
    ...
    $g->add_edge('email' => 'thankC', label => 'creditor/collector');
    $g->add_edge('email' => 'thankD', label => 'debtor');
    $g->as_jpeg("email02.jpg");
    
  5. or download this
    my @color = (color => 'lightgray', fontcolor => 'lightgray');
    $g = GraphViz->new(node => {shape => 'box', fontsize => 10}, edge => {
    +fontsize => 9}, rankdir => 'LR');
    ...
    $g->add_edge('report' => 'XML data', label => 'use', @color);
    $g->add_edge('thank' => 'XML data', label => 'use', @color);
    $g->as_jpeg("email03.jpg");
    
  6. or download this
    DROP TABLE IF EXISTS org;
    CREATE TABLE org (
    ...
      FOREIGN KEY (employee_id) REFERENCES employee (id),
      FOREIGN KEY (subord_id) REFERENCES employee (id)
    ) TYPE=InnoDB;
    
  7. or download this
    use strict;
    use warnings;
    ...
    my $dbh = DBI->connect("DBI:mysql:test", "user", "password");
    GraphViz::DBI->new($dbh)->graph_tables->as_jpeg("dbi.jpg");
    $dbh->disconnect;
    
  8. or download this
    use strict;
    use GraphViz;
    ...
        </module>
        <module name="Mail::Sender" src="http://search.cpan.org/author/JEN
    +DA/Mail-Sender-0.8.06/Sender.pm"/>
    </script>
    
  9. or download this
    use strict;
    use GraphViz;
    ...
    1 randomThreat
    6 generateReport
    2 sendemail
    
  10. or download this
    # Original code: "Prettified Perl Inheritance" by Kageneko
    use strict;
    ...
            $already_loaded{$module} = $parent;
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://278918]
Approved by particle
Front-paged by LameNerd
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-18 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found