UML diagrams
Diagrams describe how the system is built. You write them as short Mermaid scripts, and the page draws them live. Open System Design → 4+1 Views in the left menu, and choose the Product in the Active product menu first.
The page shows five cards, one for each view, with the number of diagrams in it: UseCase View, Logical View, Development View, Process View and Deployment View. Click a card to open that view. The list of its diagrams is on the left, and the details are on the right.
Create a diagram
- Open a view and click + Create Diagram.
- Type a name, choose the Kind, and click Confirm.
- The diagram is created with a small starter script for that kind, and its detail panel opens.
The kinds are Use Case Diagram, Class Diagram, Architecture Diagram, Flowchart, Sequence Diagram, State Diagram and ER Diagram.
Find and open a diagram
Each row shows the diagram's number (for example UML#7), its name and its kind. Click a row to open it. The panel shows the drawing at the top, with Zoom in and Zoom out buttons.
Edit a diagram
| Field | Notes |
|---|---|
| Name | Saved when you leave the field. |
| Kind | Changing it keeps your script, so update the script to match. |
| View | Choose another view to move the diagram there. The panel closes after the move. |
| Describes Requirement | Sequence diagrams only: link the diagram to the Requirement it explains. |
| Mermaid Script | Edit the script and the drawing updates after a short pause. Click Save to keep it, or Cancel to drop it. |
| Content | A Markdown description of the diagram. It has its own Save and Cancel. |
If the drawing shows "This Mermaid script could not be rendered.", the script has a syntax error. The script and the Content share one version number. If either one was changed by someone else in the meantime, the save is refused. Copy your text, refresh, and try again.
Export a diagram
Open the Export Image menu in the panel and choose Save as SVG or Save as PNG.
Delete a diagram
Click the trash icon on the row and confirm with Delete.
