Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Perl diagram/chart generator

by Anonymous Monk
on Apr 11, 2005 at 17:31 UTC ( #446698=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

Does anyone know of any tools that generate diagrams or flowcharts from Perl source code? I've found a couple, visustin and CodeVisual2Flowchart but I was wondering if there were any less expensive or dare i say it, free, tools available.

Thanks, Mad

Comment on Perl diagram/chart generator
Re: Perl diagram/chart generator
by kvale (Monsignor) on Apr 11, 2005 at 17:59 UTC
    The module AutoDia can produce a UML diagram from Perl source code.

    For creating graphs from scratch, try Text::FlowChart.

    -Mark

Re: Perl diagram/chart generator
by willyyam (Priest) on Apr 11, 2005 at 19:25 UTC

    Graphviz may be able to help you out, and the price is right.

Re: Perl diagram/chart generator
by tiw (Acolyte) on Apr 11, 2005 at 19:56 UTC
    Umbrello is a good choice, not just for perl.
Re: Perl diagram/chart generator
by dave0 (Friar) on Apr 11, 2005 at 21:15 UTC
    You might want to take a look at sub_graph.pl: perl call graph generator for a script that uses the output of B::Xref to generate a call graph.

    I have no idea if that script works, as I've only used the standard text output of B::Xref, but if it doesn't, it shouldn't be too hard to fix.

Re: Perl diagram/chart generator
by zakzebrowski (Curate) on Apr 11, 2005 at 22:52 UTC
Re: Perl diagram/chart generator
by ghenry (Vicar) on Apr 12, 2005 at 09:17 UTC

    Did you search cpan?

    Walking the road to enlightenment... I found a penguin and a camel on the way.....
    Fancy a yourname@perl.me.uk? Just ask!!!
      Did you search cpan?
      Did you? I gave it a quick look, trying various keywords. I figured there'd be a module using "GraphViz" set up to do something like this, but I didn't see anything. Nor did I spot anything that looked good under searches on terms like "Flow", and "Chart" and so on. It's entirely possible I missed something of course, but then it's also entirely understandable to me why someone would ask a question like this.

      It's not like we've got any really good conceptual indexes to CPAN, you know... pretty much you have to hope the other guy named something the way you would've.

        This article looks promising — look at the bottom of the page.

        And GraphViz itself comes with Devel::GraphVizProf (of which I'm not exactly sure what it does): "per-line Perl profiler (with graph output)".

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://446698]
Approved by moot
Front-paged by tlm
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2014-09-21 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls