Skip to content

zknill/java-graphviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java graphviz

Parse java code into a graphviz image.

The cli tool takes a directory and recurses to find all the java file. It then builds a graphviz output of those files.

Usage

Generate a graphviz graph from java files

java-graphviz -dir /directory/of/source/java/files 

Filter the output to a package prefix

java-graphviz -dir /directory/of/source/java/files -filter "com.site.my.package"

Color the output graph by node and it's links

java-graphviz -dir /directory/of/source/java/files -filter "com.site.my.package" -colorMap "com.site.my.package.MyClass=red"

Example

This is an example from the parser test data directory:

java-graphviz -dir parser/fixtures/ -colorMap="parser.fixtures.single.MyClass=red"

output

About

Parse java packages, imports and classes into a graphviz image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published