mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-14 04:49:44 +02:00
Added example showing async, open arrows in the docs
This commit is contained in:
@@ -9,12 +9,14 @@ Mermaid can render sequence diagrams.
|
|||||||
sequenceDiagram
|
sequenceDiagram
|
||||||
Alice->>John: Hello John, how are you?
|
Alice->>John: Hello John, how are you?
|
||||||
John-->>Alice: Great!
|
John-->>Alice: Great!
|
||||||
|
Alice-)John: See you later!
|
||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
sequenceDiagram
|
sequenceDiagram
|
||||||
Alice->>John: Hello John, how are you?
|
Alice->>John: Hello John, how are you?
|
||||||
John-->>Alice: Great!
|
John-->>Alice: Great!
|
||||||
|
Alice-)John: See you later!
|
||||||
```
|
```
|
||||||
|
|
||||||
```note
|
```note
|
||||||
@@ -84,8 +86,10 @@ There are six types of arrows currently supported:
|
|||||||
| --> | Dotted line without arrow |
|
| --> | Dotted line without arrow |
|
||||||
| ->> | Solid line with arrowhead |
|
| ->> | Solid line with arrowhead |
|
||||||
| -->> | Dotted line with arrowhead |
|
| -->> | Dotted line with arrowhead |
|
||||||
| -x | Solid line with a cross at the end (async) |
|
| -x | Solid line with a cross at the end |
|
||||||
| --x | Dotted line with a cross at the end (async) |
|
| --x | Dotted line with a cross at the end |
|
||||||
|
| -x | Solid line with an open arrow at the end (async) |
|
||||||
|
| --x | Dotted line with an open arrow at the end (async) |
|
||||||
|
|
||||||
## Activations
|
## Activations
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user