prajkumarp / jarjar

Automatically exported from code.google.com/p/jarjar
0 stars 0 forks source link

Code: Outputing dependencies in graphvis (dot) format (DotDepHandler.java) #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When using jarjar find jars <cp>, the output is almost but not quite
suitable for feeding directly to dot [1], which can draw a nice graph of it.

I wrote a specific DepHandler, which makes the output a digraph that can be
fed directly to dot.  Could it be committed to the project?

To test it, simply replace "new TextDepHandler" in Main.java with "new
DotDepHandler", as I have not yet written a way to decide runtime which
handler to use.

[1] http://www.graphviz.org/doc/info/lang.html

Original issue reported on code.google.com by rasmus...@gmail.com on 4 Dec 2008 at 5:46

Attachments: