Generates a Graph with all the pipeline modules, their stages and their relationships when there are links.