ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  An Introduction to GraphViz and dot
Subject:   yes, but using a tool is usually quicker
Date:   2004-05-11 06:52:30
From:   teejay
Response to: Autodia and other software

..especially when there is a tool *cough* autodia *cough* that already does it for you, that was in fact designed to solve this problem several years ago.

perl -MCPAN -e 'install Autodia'

autodia.pl -d path/to/files -l python -o myclasses.png -Z

is pretty quick.

Having said that, yes, dot is very programmable and rapid to code to. Graphviz is very cool, and knocking off a quick script to handle edge-cases is quite satisfying but there is no point re-inventing the wheel.