This is the tool, that can use .o(object) files to generate dependency graph.
All visualisations was done by d3js library, which is just awesome!
This tool was made just for fun, but images can show how big your project is, how many classes it have, and how they linked to each other
This will clone project, and run it on the latest modified project
git clone https://github.com/PaulTaykalo/objc-dependency-visualizer.git ;
cd objc-dependency-visualizer ;
./generate-objc-dependencies-to-json.rb -d -s "" > origin.js ;
open index.html
git clone https://github.com/PaulTaykalo/objc-dependency-visualizer.git ;
cd objc-dependency-visualizer ;
./generate-objc-dependencies-to-json.rb -w -s "" > origin.js ;
open index.html
You can use dependency_filter.rb filter to generator a small origin.js
Usage: dependency_filter [options]
General options:
-p, --path PATH Path for origin file
-r REGEX Regex for filter links
-o OUTPUT_FILE Output file name
Common options:
-h Prints this help
Examples are here
Share image to the Twitter with #objcdependencyvisualizer hashtag
Here's detailed description of what's going on under the hood