mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-11 00:04:12 +01:00
Fix for broken diagram in index.html
This commit is contained in:
54
dist/index.html
vendored
54
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]]
|
||||||
@@ -364,7 +361,7 @@
|
|||||||
A -->|Get money| B2[(Go shopping 2)]
|
A -->|Get money| B2[(Go shopping 2)]
|
||||||
A -->|Get money| B3[(Go shopping 3)]
|
A -->|Get money| B3[(Go shopping 3)]
|
||||||
C[(Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or
|
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?)]
|
||||||
B1 --> C
|
B1 --> C
|
||||||
B2 --> C
|
B2 --> C
|
||||||
B3 --> C
|
B3 --> C
|
||||||
@@ -597,21 +594,26 @@
|
|||||||
|
|
||||||
<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?
|
|
||||||
Class09 "0" --* "1..n" C3
|
<<interface>> Class01
|
||||||
Class09 --|> Class07
|
Class03 "0" *-- "0..n" Class04
|
||||||
Class07 : equals()
|
Class05 "1" o-- "many" Class06
|
||||||
Class07 : Object[] elementData
|
Class07 .. Class08
|
||||||
Class01 : #size()
|
Class09 "many" --> "1" C2 : Where am i?
|
||||||
Class01 : -int chimp
|
Class09 "0" --* "1..n" C3
|
||||||
Class01 : +int gorilla
|
Class09 --|> Class07
|
||||||
Class08 <--> C2: Cool label
|
Class07 : equals()
|
||||||
class Class10 {
|
Class07 : Object[] elementData
|
||||||
<<service>>
|
Class01 : #size()
|
||||||
int id
|
Class01 : -int chimp
|
||||||
size()
|
Class01 : +int gorilla
|
||||||
}
|
Class08 <--> C2: Cool label
|
||||||
|
class Class10 {
|
||||||
|
<<service>>
|
||||||
|
int id
|
||||||
|
size()
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mermaid">
|
<div class="mermaid">
|
||||||
@@ -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