punkish has asked for the wisdom of the Perl Monks concerning the following question:
%d = ( a => [b,c,d,], b => [a,d,], c => [b,d,e,], ); and so on...
I would like to create a directed graph (I believe I am using the term correctly) and visualize it such that...
will create a "picture" with 'a' as the origin and arrows to b, c, and d... clicking on, say, 'b' will call makeGraph('b'), and so on.makeGraph('a');
I believe I can accomplish this with Graphviz family of modules, but there are two problems with Graphviz... one, the output is pretty, how shall I say this politely, not nice. Maybe that can be adjusted with further exploration. But, more than that, it is really a static picture. Ideally I would like one of those springy network visualizations that one sees on Amazon and C|Net, etc. (www.touchgraph.com has a nice WikiBrowser that does something like this, except, in a standalone app... eventually I want this to work in a browser). I realize this would have to be done in something like Java (www.processing.org comes to mind), but perhaps I can do the coding in Perl, and then send off the data to the Java applet.
In any case, I am looking for some starting directions here.
Many thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: drawing (visualizing) directed graphs
by NetWallah (Canon) on Jul 15, 2006 at 02:43 UTC | |
|
Re: drawing (visualizing) directed graphs
by lima1 (Curate) on Jul 15, 2006 at 08:30 UTC | |
|
Re: drawing (visualizing) directed graphs
by planetscape (Chancellor) on Jul 15, 2006 at 09:26 UTC | |
by lima1 (Curate) on Jul 15, 2006 at 10:43 UTC | |
by planetscape (Chancellor) on Jul 17, 2006 at 00:10 UTC |