https://github.com/roman-mazur/oak
Tool for visualizing Java class dependencies
https://github.com/roman-mazur/oak
dependency dependency-graph java structure
Last synced: 6 months ago
JSON representation
Tool for visualizing Java class dependencies
- Host: GitHub
- URL: https://github.com/roman-mazur/oak
- Owner: roman-mazur
- Created: 2015-03-24T09:57:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-24T12:36:25.000Z (over 11 years ago)
- Last Synced: 2024-04-17T11:09:19.947Z (over 2 years ago)
- Topics: dependency, dependency-graph, java, structure
- Language: HTML
- Size: 496 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Oak
===
A tool that parses bytecode in the classpath and builds a graph of dependencies between classes.
Just for fun! *Requires Java 8.*

Inspired by [**PaulTaykalo's**](https://github.com/PaulTaykalo) [objc-dependency-visualizer](https://github.com/PaulTaykalo/objc-dependency-visualizer).
And many thanks to an awesome [d3js](http://d3js.org/) library!
How to use
----------
**Manual way**
```bash
curl -L https://github.com/roman-mazur/oak/releases/download/v0.1.1/oak-cli.jar > oak-cli.jar
java -jar oak-cli.jar -cp path/to/your.jar:and/or/library.jar:or/classes/dir -f html -o deps-report
open deps-report/index.html
```
Use `-e` parameter to exclude libraries from your graph (using regexps)
```
-e android.+ -e rx.+
```
or define terminal nodes with `-t` parameter:
```
-t retrofit.+
```
**Gradle plugin**
TODO
Share your graphs with [#javadv](https://twitter.com/hashtag/javadv) hash!