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 | 
Monorepo World: October 7, 2024Monorepo World: October 7, 2024Join us!
▸ 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 | 
Join us live for exciting talks on developer tooling and monorepos! Catch the action on YouTube and join the conversation on Discord!