I don't think you should be trying to produce a single PNG for something
like this. I know there are social network analysis packages that are
designed for interactive viewing, with the ability to see large scale
features for the whole graph, or details for a subset. I assume there
are more neutral graph packages that can do the same, and may be more
suitable for this.
Although there are some attractions to mapping this to SNA. SNA packages
look for features such as clusters and bridges between clusters that may
be interesting for understanding the dependency structure.
I'll look and ask around, and see what I can find out.
Patricia
Peter Firmstone wrote:
Thanks Dan & Patricia for your suggestions,
I'm still struggling with the graph output, it's a lot of data, perhaps
too much, the PNG turned out to be 30MB, for all dependency links in
River, originating from PersistentOutriggerImpl.
I've attached the text file used to generate the graph.
I'll have to get back to you.
Cheers,
Peter.
Dan Creswell wrote:
I'd be favouring something like integration with GraphViz:
http://www.graphviz.org/
So you'd need an adapter that could generate a graph rep in simple
text and
GraphViz can then draw it for you....
On 21 January 2011 10:06, Peter Firmstone <j...@zeus.net.au> wrote:
When I worked on the replacement for ClassDep with Tim Blackman, I
created
a data object to capture the dependency relationships, ClassDep is
now just
a wrapper for another implementation called ClassDepend.
Looking at class dependency relationships with ClassDep is a one way
affair, you only find dependencies. However with ClassDepend, you can
capture the entire codebase and hold the entire relationship between all
classes in a collection. Each object that represents a class contains a
list of dependant classes as well as the classes it depends upon, you
can
traverse dependencies in either direction.
The question is, how can we present or visualise this class relationship
graph? Anyone know of any good tools?
Cheers,
Peter.