mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Test commit
This commit is contained in:
parent
9fb25310e8
commit
bd616e0ef5
@ -50,28 +50,21 @@
|
|||||||
end
|
end
|
||||||
</pre>
|
</pre>
|
||||||
<pre class="mermaid" style="width: 50%">
|
<pre class="mermaid" style="width: 50%">
|
||||||
sequenceDiagram
|
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
||||||
participant Alice
|
flowchart LR
|
||||||
participant Bob
|
b("`The dog in **the** hog.(1)
|
||||||
participant John as John<br/>Second Line
|
NL`") --"`1o **bold**`"--> c[new strings svg labels]
|
||||||
Alice ->> Bob: Hello Bob, how are you?
|
</pre>
|
||||||
Bob-->>John: How about you John?
|
<pre class="mermaid" style="width: 50%">
|
||||||
Bob--x Alice: I am good thanks!
|
%%{init: {"flowchart": {"htmlLabels": true}} }%%
|
||||||
Bob-x John: I am good thanks!
|
flowchart LR
|
||||||
Note right of John: Bob thinks a long<br/>long time, so long<br/>that the text does<br/>not fit on a row.
|
b("`The dog in **the** hog.(1)
|
||||||
Bob-->Alice: Checking with John...
|
NL`") --"`1o **bold**`"--> c[new strings html labels]
|
||||||
alt either this
|
</pre>
|
||||||
Alice->>John: Yes
|
<pre class="mermaid" style="width: 50%">
|
||||||
else or this
|
%%{init: {"flowchart": {"htmlLabels": true}} }%%
|
||||||
Alice->>John: No
|
flowchart LR
|
||||||
else or this will happen
|
b("The dog in the hog.(1)\nNL") --"1o bold"--> c[old strings svg labels]
|
||||||
Alice->John: Maybe
|
|
||||||
end
|
|
||||||
par this happens in parallel
|
|
||||||
Alice -->> Bob: Parallel message 1
|
|
||||||
and
|
|
||||||
Alice -->> John: Parallel message 2
|
|
||||||
end
|
|
||||||
</pre>
|
</pre>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
// import mindmap from '../../packages/mermaid-mindmap/src/detector';
|
// import mindmap from '../../packages/mermaid-mindmap/src/detector';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user