...
To define the diagram code, click the “Edit diagram” button and enter the textual description (Mermaid code) of the diagram in the editor and click “Save”“Submit”:
...
After saving the Mermaid code, the rendered version of the diagram is shown. On this view, you can click the download icon to download the diagram as PNG image.
...