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

View File

@@ -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