Random notes from mg

a blog by Marius Gedminas

Marius is a Python hacker. He works for Programmers of Vilnius, a small Python/Zope 3 startup. He has a personal home page at http://gedmin.as. His email is marius@gedmin.as. He does not like spam, but is not afraid of it.

Fri, 28 Sep 2007

Simplifying dependency graphs with graphviz

Remember the package dependency graph of z3c.formdemo produced by tl.eggdeps?

z3c.formdemo dependency graph (small version)
the insane graph, scaled down from 14153x2729 to 480x93

If you filter the dot file through tred from the graphviz suite of tools, it will remove redundant dependencies (that are already implied by transitivity) and produce something actually useful:

z3c.formdemo dependency graph filtered by tred (small version)
the useful graph, scaled down from 2695 x 2394 to 480x426
posted at 18:21 | tags: | permanent link to this entry | 0 comments

Name (required)


E-mail (will not be shown)


URL


Comment (some HTML allowed)