nx affected:graph
Graph dependencies affected by changes
Options
Name | Description |
---|---|
--all | All projects |
--base <arg> | Base of the current branch (usually main) |
--exclude <projects> | Exclude certain projects from being processed |
--file <arg> | Output file (e.g. --file=output.json or --file=dep-graph.html) |
--files <arg> | Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces |
--focus <project> | Use to show the project graph for a particular project and every node that is either an ancestor or a descendant |
--groupByFolder | Group projects by folder in the project graph |
--head <arg> | Latest commit of the current branch (usually HEAD) |
--help | Show help |
--host <arg> | Bind the project graph server to a specific ip address |
--open | Open the project graph in the browser |
--port <arg> | Bind the project graph server to a specific port |
--targets <targets> | Targets (comma/space delimited) |
--uncommitted | Uncommitted changes |
--untracked | Untracked changes |
--version | Show version number |
--view <arg> | Choose whether to view the projects or task graph |
--watch | Watch for changes to project graph and update in-browser |