Objective-C and Swift dependency visualizer. It's tool that helps to visualize current state of your project. It's really easy to see how tight your classes are coupled.
In this version, Swift AST dump is supported as the source for building dependencies graph. While it's more proof of concept, results can be really cool :)
./generate-objc-dependencies-to-json.rb --ast-file file.ast
./generate-objc-dependencies-to-json.rb --ast-file file.ast --inheritance-only
More detailed info can be found on wiki
In this version two "big" things were added:
Additional option -d
or --use-dwarf-info
was added, which will run dwarfdump
for each found object file and will try to get dependency information from there. This option was added mainly because there are some hidden dependencies those are not visible when we're using nm -o
Instead of editing index.html file, and see changes after reload, now you can run any JS code (with some predefined example), which will be applied to your graph immediately.