El mar, 12-01-2010 a las 09:40 +0100, Lukas Renggli escribió:
That's what I used, as it has a nice UI and it is easy to use. But there is also something from Lukas that they use in Seaside and does that kind of graphics. I don't know if it has a UI or a tutorial anywhere, thus.
Load it using:
Gofer new renggli: 'packaging'; package: 'GraphViz'; package: 'Package-Dependencies'; load
Then have a look at the examples on the class side of PDPackageAnalyzer.
It creates a .dot file that can be fed into GraphViz. Preferably you generate an SVG graphic as it has nice tooltips.
Contrary to the other tool, Package-Dependencies does not show unnecessary transitive dependencies. It only displays the direct and shortest dependencies. Circular dependencies are highlighted in red. Very useful for complicated packages like Seaside (http://builder.seaside.st/distributions/004-Seaside3.0.0-a5/seaside.svg). I should add it to the build-server :-)
Cool, thanks for the tip.
Lukas
-- Miguel Cobá http://miguel.leugim.com.mx