docs: Added demo diagram of bidirectional arrows for sequence diagrams

This commit is contained in:
Justin 2024-06-21 14:16:21 +00:00
parent 58483fb231
commit ac5c61dbd4

View File

@ -238,6 +238,17 @@
Alice-xJohn: Hello John, how are you?
John--xAlice: Great!
</pre>
<hr />
<pre class="mermaid">
sequenceDiagram
participant Alice
participant Bob
Alice<<->>Bob: Hello!
Alice<<->>Bob: Wow, we said that at the same time!
Bob<<-->>Alice: Bidirectional Arrows are so cool
</pre>
<script type="module">
import mermaid from './mermaid.esm.mjs';
mermaid.initialize({