graph
Fix a few bugs present in the `Pipeline.graph` function which lead to the graph being completely unconnected.