Added example showing async, open arrows in the docs

This commit is contained in:
Knut Sveidqvist 2021-01-21 21:28:47 +01:00
parent 9a928295fa
commit e70b32e14d
1 changed files with 6 additions and 2 deletions

View File

@ -9,12 +9,14 @@ Mermaid can render sequence diagrams.
sequenceDiagram
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
Alice-)John: See you later!
```
```mermaid
sequenceDiagram
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
Alice-)John: See you later!
```
```note
@ -84,8 +86,10 @@ There are six types of arrows currently supported:
| --> | Dotted line without arrow |
| ->> | Solid line with arrowhead |
| -->> | Dotted line with arrowhead |
| -x | Solid line with a cross at the end (async) |
| --x | Dotted 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 |
| -x | Solid line with an open arrow at the end (async) |
| --x | Dotted line with an open arrow at the end (async) |
## Activations