Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm using Graph::Base, Graph::Undirected, and Graph::Writer::Dot explore and visualize a large electrical network. I need to be able to create multiple graphs based on information in the (flat) source files.
I need to do something like this:
I've tried all the tricks I can think of with no joy. I get warnings when I try to add a vertex or an edge, not when I create the graphs. I'm stumped. Any suggestions welcome.foreach $area (@areas) { $graph{$area} = Graph->new(); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: creating multiple graphs programmatically
by Fletch (Bishop) on Nov 10, 2004 at 15:39 UTC | |
Re: creating multiple graphs programmatically
by Util (Priest) on Nov 15, 2004 at 18:00 UTC |
Back to
Seekers of Perl Wisdom