mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-11 16:24:12 +01:00
Fix for broken diagram in index.html
This commit is contained in:
26
dist/index.html
vendored
26
dist/index.html
vendored
@@ -316,8 +316,7 @@
|
|||||||
<div class="mermaid">
|
<div class="mermaid">
|
||||||
graph TD
|
graph TD
|
||||||
A[Christmas] -->|Get money| B(Go shopping)
|
A[Christmas] -->|Get money| B(Go shopping)
|
||||||
B --> C{{Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or
|
B --> C{{Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?}}
|
||||||
something to get around?}}
|
|
||||||
C -->|One| D[Laptop]
|
C -->|One| D[Laptop]
|
||||||
C -->|Two| E[iPhone]
|
C -->|Two| E[iPhone]
|
||||||
C -->|Three| F[Car]
|
C -->|Three| F[Car]
|
||||||
@@ -331,8 +330,7 @@
|
|||||||
graph TD
|
graph TD
|
||||||
A([stadium shape test])
|
A([stadium shape test])
|
||||||
A -->|Get money| B([Go shopping])
|
A -->|Get money| B([Go shopping])
|
||||||
B --> C([Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or
|
B --> C([Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?])
|
||||||
something to get around?])
|
|
||||||
C -->|One| D([Laptop])
|
C -->|One| D([Laptop])
|
||||||
C -->|Two| E([iPhone])
|
C -->|Two| E([iPhone])
|
||||||
C -->|Three| F([Car<br />wroom wroom])
|
C -->|Three| F([Car<br />wroom wroom])
|
||||||
@@ -346,8 +344,7 @@
|
|||||||
graph LR
|
graph LR
|
||||||
A[[subroutine shape test]]
|
A[[subroutine shape test]]
|
||||||
A -->|Get money| B[[Go shopping]]
|
A -->|Get money| B[[Go shopping]]
|
||||||
B --> C[[Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or
|
B --> C[[Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?]]
|
||||||
something to get around?]]
|
|
||||||
C -->|One| D[[Laptop]]
|
C -->|One| D[[Laptop]]
|
||||||
C -->|Two| E[[iPhone]]
|
C -->|Two| E[[iPhone]]
|
||||||
C -->|Three| F[[Car<br />wroom wroom]]
|
C -->|Three| F[[Car<br />wroom wroom]]
|
||||||
@@ -597,8 +594,13 @@
|
|||||||
|
|
||||||
<div class="mermaid">
|
<div class="mermaid">
|
||||||
classDiagram
|
classDiagram
|
||||||
Class01 <|-- AveryLongClass : Cool <<interface>> Class01 Class03 "0" *-- "0..n" Class04 Class05 "1"
|
Class01 <|-- AveryLongClass : Cool
|
||||||
o-- "many" Class06 Class07 .. Class08 Class09 "many" --> "1" C2 : Where am i?
|
|
||||||
|
<<interface>> Class01
|
||||||
|
Class03 "0" *-- "0..n" Class04
|
||||||
|
Class05 "1" o-- "many" Class06
|
||||||
|
Class07 .. Class08
|
||||||
|
Class09 "many" --> "1" C2 : Where am i?
|
||||||
Class09 "0" --* "1..n" C3
|
Class09 "0" --* "1..n" C3
|
||||||
Class09 --|> Class07
|
Class09 --|> Class07
|
||||||
Class07 : equals()
|
Class07 : equals()
|
||||||
@@ -629,8 +631,12 @@
|
|||||||
|
|
||||||
<div class="mermaid">
|
<div class="mermaid">
|
||||||
classDiagram
|
classDiagram
|
||||||
Class01~T~ <|-- AveryLongClass : Cool <<interface>> Class01 Class03~T~ "0" *-- "0..n" Class04
|
Class01~T~ <|-- AveryLongClass : Cool
|
||||||
Class05 "1" o-- "many" Class06 Class07~T~ .. Class08 Class09 "many" --> "1" C2 : Where am i?
|
<<interface>> Class01
|
||||||
|
Class03~T~ "0" *-- "0..n" Class04
|
||||||
|
Class05 "1" o-- "many" Class06
|
||||||
|
Class07~T~ .. Class08
|
||||||
|
Class09 "many" --> "1" C2 : Where am i?
|
||||||
Class09 "0" --* "1..n" C3
|
Class09 "0" --* "1..n" C3
|
||||||
Class09 --|> Class07
|
Class09 --|> Class07
|
||||||
Class07 : equals()
|
Class07 : equals()
|
||||||
|
|||||||
Reference in New Issue
Block a user