Herkum has asked for the wisdom of the Perl Monks concerning the following question:

I had been looking at using Graph and I had started to read the Mastering Algorithms with Perl. One of the things I was interested in was a module that given a Graph object can generate an reasonable image of the Graph, has someone do this already?

Update

Note: I am talking about a Graph Algorithm, not an Graph like you would find in Excel.

Replies are listed 'Best First'.
Re: Writing Images of Graphs
by Fletch (Bishop) on Feb 09, 2007 at 20:06 UTC

    Should be trivial to make something walk your Graph and construct an output representation using the GraphViz module and package.

      I went and installed GraphViz, took a little work because it has a few other dependencies, but I got it running and it works! :) Thanks for the help.
Re: Writing Images of Graphs
by Solo (Deacon) on Feb 09, 2007 at 20:10 UTC
    Graph::Easy

    --Solo

    --
    You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.
      Another good option as it will do text as well as images. Thanks. :)