Skip to content
Paul Taykalo edited this page Oct 17, 2017 · 8 revisions

First step - clone project :)

git clone https://github.com/PaulTaykalo/objc-dependency-visualizer.git ; cd objc-dependency-visualizer

Latest project with anything("") in project name

./generate-objc-dependencies-to-json.rb -d -s "" > origin.js ; open index.html

Latest Swift project with anything("") in project name

./generate-objc-dependencies-to-json.rb -w -s "" > origin.js ; open index.html

Parse and show graph from passed SourceKitten doc output

./generate-objc-dependencies-to-json.rb -k awesome.json > origin.js ; open index.html

Parse and show graph from Swift AST dump output

[More information here]
(https://github.com/PaulTaykalo/objc-dependency-visualizer/wiki/Swift-AST-Support-(alpha)) ./generate-objc-dependencies-to-json.rb --ast-file file.ast > origin.js; open index.html

Latest project dependencies with project name starting with "PR"

./generate-objc-dependencies-to-json.rb -d -s "PR" > origin.js ; open index.html

From object files

./generate-objc-dependencies-to-json.rb -d -p <PATH_TO_FOLDER_WITH_OBJECT_FILES> > origin.js ; open index.html

From object files in multiple directories

./generate-objc-dependencies-to-json.rb -d -p <PATH_TO_FOLDER_WITH_OBJECT_FILES1> -p <PATH_TO_FOLDER_WITH_OBJECT_FILES2> > origin.js ; open index.html

From specific target "T" of project with name "X"

./generate-objc-dependencies-to-json.rb -d -s "X" -t "T" > origin.js ; open index.html

From specific targets "T1" and "T2" of project with name "X"

./generate-objc-dependencies-to-json.rb -d -s "X" -t "T1" -t "T2" > origin.js ; open index.html

From specific subprojects "S1" and "S2" of project wit name "X"

./generate-objc-dependencies-to-json.rb -d -s "X" -t "S1" -t "S2" > origin.js ; open index.html