Add Box support in Sequence Diagrams

This commit is contained in:
Olivier Leveau
2023-01-05 15:40:40 +01:00
parent 967d3bbb60
commit e659601e03
8 changed files with 393 additions and 27 deletions

View File

@@ -128,6 +128,22 @@
</pre>
<hr />
<pre class="mermaid">
sequenceDiagram
box lightgreen Alice & John
participant A
participant J
end
box Another Group very very long description not wrapped
participant B
end
A->>J: Hello John, how are you?
J->>A: Great!
A->>B: Hello Bob, how are you ?
</pre
>
<hr />
<script src="./mermaid.js"></script>
<script>
mermaid.initialize({