From e70b32e14d3e6d216dc09c93c0c08b45218a3013 Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Thu, 21 Jan 2021 21:28:47 +0100 Subject: [PATCH] Added example showing async, open arrows in the docs --- docs/sequenceDiagram.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/sequenceDiagram.md b/docs/sequenceDiagram.md index cf6f7dcf8..6590d57d9 100644 --- a/docs/sequenceDiagram.md +++ b/docs/sequenceDiagram.md @@ -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