# tuist graph Generates a graph from the workspace or project in the current directory ## Arguments ### skip-test-targets `Optional` **Environment variable** `TUIST_GRAPH_SKIP_TEST_TARGETS` Skip Test targets during graph rendering. ```bash tuist graph -t tuist graph --skip-test-targets ``` ### no-skip-test-targets `Optional` **Environment variable** `TUIST_GRAPH_SKIP_TEST_TARGETS` Skip Test targets during graph rendering. ```bash tuist graph --no-skip-test-targets ``` ### skip-external-dependencies `Optional` **Environment variable** `TUIST_GRAPH_SKIP_EXTERNAL_DEPENDENCIES` Skip external dependencies. ```bash tuist graph -d tuist graph --skip-external-dependencies ``` ### no-skip-external-dependencies `Optional` **Environment variable** `TUIST_GRAPH_SKIP_EXTERNAL_DEPENDENCIES` Skip external dependencies. ```bash tuist graph --no-skip-external-dependencies ``` ### platform `Optional` **Environment variable** `TUIST_GRAPH_PLATFORM` A platform to filter. Only targets for this platform will be showed in the graph. Available platforms: ios, macos, tvos, watchos ```bash tuist graph -l [platform] tuist graph --platform [platform] ``` ### format `Optional` **Environment variable** `TUIST_GRAPH_FORMAT` Available formats: dot, json, png, svg ```bash tuist graph -f [format] tuist graph --format [format] ``` ### open `Optional` **Environment variable** `TUIST_GRAPH_OPEN` Don't open the file after generating it. ```bash tuist graph --open ``` ### no-open `Optional` **Environment variable** `TUIST_GRAPH_OPEN` Don't open the file after generating it. ```bash tuist graph --no-open ``` ### algorithm `Optional` **Environment variable** `TUIST_GRAPH_LAYOUT_ALGORITHM` Available formats: dot, neato, twopi, circo, fdp, sfdp, patchwork ```bash tuist graph -a [algorithm] tuist graph --algorithm [algorithm] ``` ### targets `Optional` **Environment variable** `TUIST_GRAPH_TARGETS` A list of targets to filter. Those and their dependent targets will be showed in the graph. ```bash tuist graph [targets] ``` ### path `Optional` **Environment variable** `TUIST_GRAPH_PATH` The path to the directory that contains the project whose targets will be cached. ```bash tuist graph --path [path] tuist graph -p [path] ``` ### output-path `Optional` **Environment variable** `TUIST_GRAPH_OUTPUT_PATH` The path where the graph will be generated. ```bash tuist graph --output-path [output-path] tuist graph -o [output-path] ```