When projects grow, it becomes hard to visualize the dependencies between all the targets that are part of the project. Fortunately, Tuist provides a command,
tuist graph, that loads your project dependencies graph and exports it in a representable format.
Being in a directory that contains a workspace or project manifest, run the following command:
The command will output a human-readable file,
graph.dot that describes the dependencies graph using the DOT description language.
Graphviz is a command line tool that take the
.dot graph and convert it into an image.
brew install graphvizdot -Tpng graph.dot > graph.png
Alternatively, you can use online services like this one that renders your graph on a website.