Skip to content

Commit

Permalink
docs: Added demo diagram of bidirectional arrows for sequence diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin-Garey committed Jun 21, 2024
1 parent 58483fb commit ac5c61d
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 ac5c61d

Please sign in to comment.