dependency graphs in doc/ proposal
Hello, I have placed a section about code modules at the bottom of http://www.inkscape.org/cgi-bin/wiki.pl?DeveloperManual containing links to ten dependency graphs which are IMHO quite interesting when mutually compared.
If you agree they should be in the distribution doc/ directory, please speak up, and I'll commit them.
ralf
On Thu, Jul 28, 2005 at 06:53:31PM +0200, Ralf Stephan wrote:
Hello, I have placed a section about code modules at the bottom of http://www.inkscape.org/cgi-bin/wiki.pl?DeveloperManual containing links to ten dependency graphs which are IMHO quite interesting when mutually compared.
If you agree they should be in the distribution doc/ directory, please speak up, and I'll commit them.
These are very nice graphs; can you describe how you generated them? Is it possible that these could be automatically generated via a script? If so, then I would suggest putting that script in CVS. The drawings themselves may get out of date quickly (the codebase changes a lot), so having a way to keep them up to date would make them much more useful.
Also, I can give you access to work on the Inkscape website, if you'd like to add these to the Documentation section of the site. If so, just let me know your SF ID.
Bryce
Bryce Harrington wrote:
These are very nice graphs; can you describe how you generated them? Is it possible that these could be automatically generated via a script? If so, then I would suggest putting that script in CVS. The drawings themselves may get out of date quickly (the codebase changes a lot), so having a way to keep them up to date would make them much more useful.
I'm not sure how Ralf made his, but for similar stuff I've used Egypt:
You get gcc to generate the RTL file, and then you can 'cat' together all the RTL files you're interested in. Then run egypt and graphviz, and you have an SVG performance test ;)
--Ted
I'm not sure how Ralf made his, but for similar stuff I've used Egypt:
Ah, and there is also valgrind-callgrind for call graphs but those are too big to be meaningful with inkscape, anyway.
ralf
These are very nice graphs; can you describe how you generated them? Is it possible that these could be automatically generated via a script?
The graphs are generated using graph-includes (got it from debian testing). This is perl on top of graphviz. Unfortunately, the package is buggy in that it does the descent into directories not as advertised. So I had to remove foo/ from #include "foo/bar.h" in every file. Moreover, some graphs look better if header/implementation are separated, so methods are hand- picked. Tools must become better before we can automate this.
My web publishing knowledge is really spartanic so I don't feel up to having webmaster rights, sorry.
ralf
participants (3)
-
Bryce Harrington
-
Ralf Stephan
-
Ted Gould