From a8a4616cab1c5c7922c5e93b4b2b1c983de2908e Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Tue, 8 Oct 2019 22:56:50 +0200 Subject: [PATCH] #916 Docs for chaining of links --- docs/flowchart.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/flowchart.md b/docs/flowchart.md index ea778697c..b793a86ab 100644 --- a/docs/flowchart.md +++ b/docs/flowchart.md @@ -239,6 +239,19 @@ graph LR A == text ==> B ``` +### Chaining of links + +It is possible declare many links in the same line as per below: +``` +graph LR + A -- text --> B -- text2 --> C +``` +```mermaid +graph LR + A -- text --> B -- text2 --> C +``` + + ## Special characters that break syntax It is possible to put text within quotes in order to render more troublesome characters. As in the example below: @@ -350,7 +363,7 @@ Beginners tip, a full example using interactive links in a html context: click A callback "Tooltip" click B "http://www.github.com" "This is a link" - +