http://qs1969.pair.com?node_id=162529


in reply to Software Design

You might like to check out GraphViz-Data-Structure-0.07 (in the cpan nodelet below) which will graph your program and can make a graph of what gets called during a program run, using Devel::Prof.

Wouldn't an ordinary flowchart work though?

Replies are listed 'Best First'.
Graphing programmatic structures is often unhelpful
by stefp (Vicar) on Apr 28, 2002 at 14:42 UTC
    A graph is sometimes a help. But I don't think flow chart help.

    As an illustration that a graph can obfuscate things instead of helping is my graphing of the perl grammar. I have done that before Leon Brocart wrote his modules. He once used that graph to demonstrate the capability of graphviz. Clearly, "strongly" connected graphs are not very readable.

    But Doxygen uses graphviz pretty well. I use it to navigate thru the TeXmacs sources. click any class name to see such graphs.

    -- stefp -- check out TeXmacs wiki

Re: Re: Software Design
by Anonymous Monk on Apr 27, 2002 at 16:49 UTC

    thanks, i'll take a look.
    I was going to do a flow chart, but then my tutor (the person who's marking it) said she 'hates' flowcharts!so I thought i'd better try another approach :)

      Maybe you should ask her what she likes? Maybe a UML State Machine? It's functionaly quite close to a flow chart but maybe the official stamp of OO aproval would make her happy.

      -sam