Skip to content

Commit

Permalink
Merge pull request #5589 from Justin-Garey/docs/123_bidirectional-seq…
Browse files Browse the repository at this point in the history
…uence-arrows-demo

docs: Added demo diagram of bidirectional arrows for sequence diagrams
  • Loading branch information
sidharthv96 authored Jun 22, 2024
2 parents 58483fb + ac5c61d commit 0f3778a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions demos/sequence.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,17 @@ <h1>Sequence diagram demos</h1>
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({
Expand Down

0 comments on commit 0f3778a

Please sign in to comment.