Tuist logo
Edit page
Getting startedProject & WorkspaceProject description helpersConfigurationDependenciesSet up the environmentEditing your projectsDependencies graphA visual representation of the graphManaging versionsFrequently asked questions
Contributors

Graph

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:

tuist graph

The command will output a human-readable file, graph.dot that describes the dependencies graph using the DOT description language.

A visual representation of the graph

Graphviz is a command line tool that take the .dot graph and convert it into an image.

brew install graphviz
dot -Tpng graph.dot > graph.png

Alternatively, you can use online services like this one that renders your graph on a website.