Function: reverse
▸ reverse(graph
): ProjectGraph
Returns a new project graph where all the edges are reversed.
For instance, if project A depends on B, in the reversed graph B will depend on A.
Parameters
Name | Type |
---|---|
graph | ProjectGraph |
Nx Webinar: Monorepos - The Benefits, Challenges and Importance of Tooling SupportNx Webinar: Monorepos - The Benefits, Challenges and Importance of Tooling SupportRegister
▸ reverse(graph
): ProjectGraph
Returns a new project graph where all the edges are reversed.
For instance, if project A depends on B, in the reversed graph B will depend on A.
Name | Type |
---|---|
graph | ProjectGraph |