Graph dependencies within workspace
nx globally to invoke the command directly using
nx, or use
npm run nx or
Open the dep graph of the workspace in the browser:
Save the dep graph into a json file:
nx dep-graph --file=output.json
Generate a static website with dep graph into an html file, accompanied by an asset folder called static:
nx dep-graph --file=output.html
Show the graph where every node is either an ancestor or a descendant of todos-feature-main:
nx dep-graph --focus=todos-feature-main
Include project-one and project-two in the dep graph:
nx dep-graph --include=project-one,project-two
Exclude project-one and project-two from the dep graph:
nx dep-graph --exclude=project-one,project-two
Show the graph where every node is either an ancestor or a descendant of todos-feature-main, but exclude project-one and project-two:
nx dep-graph --focus=todos-feature-main --exclude=project-one,project-two
List of projects delimited by commas to exclude from the dependency graph.
output file (e.g. --file=output.json or --file=dep-graph.html)
Use to show the dependency graph for a particular project and every node that is either an ancestor or a descendant.
Group projects by folder in dependency graph
Bind the dep graph server to a specific ip address.
Bind the dep graph server to a specific port.
Show version number