Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Devel::Graph 0.12

    Download button

    No screenshots available
    Downloads: 411  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Tels | More programs
    GPL / FREE
    July 26th, 2007, 10:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Devel::Graph description

    A module which can turn Perl code into a graphical flowchart.

    Devel::Graph module can turn Perl code into a graphical flowchart.

    SYNOPSIS

    use Devel::Graph;
    my $grapher = Devel::Graph->new();

    my $graph = $grapher->decompose( 'if ($b == 1) { $a = 9; }' );
    print $graph->as_ascii();

    # Will result in something like this:

    ################
    # start #
    ################
    |
    |
    v
    +--------------+
    | if ($b == 1) |--+
    +--------------+ |
    | |
    | true |
    v |
    +--------------+ |
    | $a = 9; | | false
    +--------------+ |
    | |
    | |
    v |
    ################ |
    # end # decompose( 'lib/Foo.pm' );
    print $graph_2->as_ascii();


    This module decomposes Perl code into blocks and generates a Graph::Flowchart object out of these. The resulting object represents the code in a flowchart manner and it can return an Graph::Easy object.

    This in turn can be converted it into all output formats currently supported by Graph::Easy, namely HTML, SVG, ASCII art, Unicode art, graphviz code (which then can be rendered as PNG etc) etc.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    graphical flowchart | Perl code | Perl module | flowchart | Perl | code

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM