feat: add name field to the actors

This commit is contained in:
Aakansha Doshi
2024-02-14 12:12:49 +05:30
parent 267e142ac9
commit e21643229e
4 changed files with 11 additions and 0 deletions

View File

@@ -187,6 +187,13 @@
Note left of Bob: Alice/Bob Note
end
</pre>
<pre class="mermaid">
sequenceDiagram
actor Alice
actor John
Alice-xJohn: Hello John, how are you?
John--xAlice: Great!
</pre>
<script type="module">
import mermaid from './mermaid.esm.mjs';