Return to Snippet

Revision: 19737
at October 29, 2009 16:32 by benjamin

Initial Code
echo "digraph G {">
sed -n -e "s/class [ ]*\([a-zA-Z0-9_]*\)[ ]* extends [ ]*\([a-zA-Z0-9_]*\)[ ]*[{][ ]*/\1 -> \2 ;/p" *.java >>
echo "}" >>

Initial URL

Initial Description
bash 3-line shell script for visualization of java class dependencies with  graphviz. Please see my blog post for details and leave comments there.

Initial Title
Class Dependency Graphs for Java

Initial Tags
class, c

Initial Language