Construct a [Mermaid](https://mermaid-js.github.io/mermaid/#/stateDiagram) diagram to show the various pipelines/stages