Skip to content

CurtisNewbie/grapher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grapher

Simple lib to draw directed graph. grapher depends on graphviz.

cmd/mtree

mtree supports parsing output of mvn dependency:tree into a graph to display.

Usage of mtree:
  -file string
        mvn dependency:tree output file
  -filter string
        filter tree branches by label name for tree-shaking
  -format string
        file format, e.g., svg, png, etc. (default "png")
  -pom string
        maven pom file

For example,

go build -o mtree cmd/mtree/main.go

# write to local file then parse it
mvn dependency:tree > tree.out && mtree -file tree.out

# pipe output to mtree
mvn dependency:tree | mtree

# let mtree obtain output of dependency:tree directly
mtree -pom myproject

About

Simple lib to draw directed graph

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages