Objective-C Dependency generator
Hi there. Here's what we have here:
Dependency graph for Objective-C projects.
Example
Here's a small example of some example project that was written on objective-c
You can play around with parameters, zoom, select/deselect nodes, and filter nodes by classnames they represents
Usage
Left click on the circle will show dependencies and dependent classes
Right click on the circle will show dependency tree (dependecies, and dependencies of dependencies and so on)
Click on the circle again to switch off dependecy mode
How it works
- Compiled project
- Ruby script that generates Dependency graph with information from object files those were generated on the compilation phase
- Graph visualiser(HTML+Javasript) that takes JSON after Ruby script as input, and builds visual representation of dependency graph with d3js library tool
- Profit
Wanna try?
Here's "one line" script that will do all the work
git clone https://github.com/PaulTaykalo/objc-dependency-visualizer.git ;
cd objc-dependency-visualizer ;
./generate-objc-dependencies-to-json.rb -s "" > origin.js ;
open index.html
Questions?
All other information can be found on the project page