From 55f9cba0f98215e2d04e0f10f10059bc3e768afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gianfranc=C3=B8=20Palumbo?= Date: Mon, 30 Sep 2019 21:59:10 +0300 Subject: [PATCH] docs: small improvement to flowchart.md --- docs/flowchart.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/docs/flowchart.md b/docs/flowchart.md index 3ec4aaed1..ea778697c 100644 --- a/docs/flowchart.md +++ b/docs/flowchart.md @@ -4,7 +4,7 @@ This statement declares a new graph and the direction of the graph layout. -This declares a graph oriented from top to bottom. +This declares a graph oriented from top to bottom (`TD` or `TB`). ``` graph TD @@ -15,7 +15,16 @@ graph TD Start --> Stop ``` -This declares a graph oriented from left to right. +This declares a graph oriented from left to right (`LR`). + +``` +graph LR + Start --> Stop +``` +```mermaid +graph LR + Start --> Stop +``` Possible directions are: @@ -26,14 +35,6 @@ Possible directions are: * TD - same as TB -``` -graph LR - Start --> Stop -``` -```mermaid -graph LR - Start --> Stop -``` ## Nodes & shapes