To include additional boxes or containers in a mermaid sequence diagram, you can use the participant
keyword followed by the name of the box or container that you want to add. For example:
sequenceDiagram
participant User
participant "Web Application"
participant "Database Server"
User->>"Web Application": Send data
"Web Application"->>"Database Server": Fetch data
In this example, we have added two additional containers: "Web Application" and "Database Server". These containers are represented by rectangular boxes in the diagram. You can customize the appearance of these boxes using CSS styles or mermaid configuration options.
Asked: 2023-06-27 10:36:19 +0000
Seen: 10 times
Last updated: Jun 27 '23