跳至內容

tuist graph

Generates a graph from the workspace or project in the current directory

Arguments#

skip-test-targets Optional#

Environment variableTUIST_GRAPH_SKIP_TEST_TARGETS

Skip Test targets during graph rendering.

bash
tuistgraph-t
tuistgraph--skip-test-targets

no-skip-test-targets Optional#

Environment variableTUIST_GRAPH_SKIP_TEST_TARGETS

Skip Test targets during graph rendering.

bash
tuistgraph--no-skip-test-targets

skip-external-dependencies Optional#

Environment variableTUIST_GRAPH_SKIP_EXTERNAL_DEPENDENCIES

Skip external dependencies.

bash
tuistgraph-d
tuistgraph--skip-external-dependencies

no-skip-external-dependencies Optional#

Environment variableTUIST_GRAPH_SKIP_EXTERNAL_DEPENDENCIES

Skip external dependencies.

bash
tuistgraph--no-skip-external-dependencies

skip-macro-support-targets Optional#

Environment variableTUIST_GRAPH_SKIP_MACRO_SUPPORT_TARGETS

Skip Swift Macro support targets (SwiftSyntax, SwiftCompilerPlugin, etc.). Macro plugin targets themselves are still shown.

bash
tuistgraph-m
tuistgraph--skip-macro-support-targets

no-skip-macro-support-targets Optional#

Environment variableTUIST_GRAPH_SKIP_MACRO_SUPPORT_TARGETS

Skip Swift Macro support targets (SwiftSyntax, SwiftCompilerPlugin, etc.). Macro plugin targets themselves are still shown.

bash
tuistgraph--no-skip-macro-support-targets

platform Optional#

Environment variableTUIST_GRAPH_PLATFORM

A platform to filter. Only targets for this platform will be showed in the graph. Available platforms: ios, macos, tvos, watchos

bash
tuistgraph-l[platform]
tuistgraph--platform[platform]

format Optional#

Environment variableTUIST_GRAPH_FORMAT

Available formats: dot, json, png, svg

bash
tuistgraph-f[format]
tuistgraph--format[format]

open Optional#

Environment variableTUIST_GRAPH_OPEN

Don't open the file after generating it.

bash
tuistgraph--open

no-open Optional#

Environment variableTUIST_GRAPH_OPEN

Don't open the file after generating it.

bash
tuistgraph--no-open

algorithm Optional#

Environment variableTUIST_GRAPH_LAYOUT_ALGORITHM

Available formats: dot, neato, twopi, circo, fdp, sfdp, patchwork

bash
tuistgraph-a[algorithm]
tuistgraph--algorithm[algorithm]

targets Optional#

Environment variableTUIST_GRAPH_TARGETS

A list of targets to filter. Those and their dependent targets will be showed in the graph.

bash
tuistgraph[targets]

path Optional#

Environment variableTUIST_GRAPH_PATH

The path to the directory that contains the project whose targets will be cached.

bash
tuistgraph--path[path]
tuistgraph-p[path]

output-path Optional#

Environment variableTUIST_GRAPH_OUTPUT_PATH

The path where the graph will be generated.

bash
tuistgraph--output-path[output-path]
tuistgraph-o[output-path]