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

NameType
graphProjectGraph

Returns

ProjectGraph