From f5ba67ab7833767a20ade05f5b2871405514045f Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Thu, 17 Feb 2022 17:45:13 +0100 Subject: [PATCH] docs: removed beta references to the flowchart graph type. --- .../flowchart.md | 8 +-- docs/flowchart.md | 58 +++++++++---------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/docs/diagrams-and-syntax-and-examples/flowchart.md b/docs/diagrams-and-syntax-and-examples/flowchart.md index 843da5ab1..d1b6b5cbe 100644 --- a/docs/diagrams-and-syntax-and-examples/flowchart.md +++ b/docs/diagrams-and-syntax-and-examples/flowchart.md @@ -255,7 +255,7 @@ graph TB B --> D ``` -### Beta: New arrow types +### New arrow types When using flowchart instead of graph there are new types of arrows supported as per below: @@ -266,7 +266,7 @@ flowchart LR ``` -### Beta: Multi directional arrows +### Multi directional arrows When using flowchart instead of graph there is the possibility to use multidirectional arrows. @@ -377,9 +377,9 @@ graph TB end ``` -## Beta: flowcharts +## flowcharts -With the graphtype flowcharts it is also possible to set edges to and from subgraphs as in the graph below. +With the graphtype flowchart it is also possible to set edges to and from subgraphs as in the graph below. ```mermaid-example flowchart TB diff --git a/docs/flowchart.md b/docs/flowchart.md index 2868008d3..2119e60e5 100644 --- a/docs/flowchart.md +++ b/docs/flowchart.md @@ -281,11 +281,11 @@ to node _E_, so that it spans two more ranks than regular links: ```mermaid-example flowchart TD - A[Start] --> B{Is it?}; - B -->|Yes| C[OK]; - C --> D[Rethink]; - D --> B; - B ---->|No| E[End]; + A[Start] --> B{Is it?} + B -->|Yes| C[OK] + C --> D[Rethink] + D --> B + B ---->|No| E[End] ``` > **Note** Links may still be made longer than the requested number of ranks @@ -297,11 +297,11 @@ the previous one: ```mermaid-example flowchart TD - A[Start] --> B{Is it?}; - B -- Yes --> C[OK]; - C --> D[Rethink]; - D --> B; - B -- No ----> E[End]; + A[Start] --> B{Is it?} + B -- Yes --> C[OK] + C --> D[Rethink] + D --> B + B -- No ----> E[End] ``` For dotted or thick links, the characters to add are equals signs or dots, @@ -370,9 +370,9 @@ flowchart TB end ``` -## Beta: flowcharts +## flowcharts -With the graphtype flowcharts it is also possible to set edges to and from subgraphs as in the flowchart below. +With the graphtype flowchart it is also possible to set edges to and from subgraphs as in the flowchart below. ```mermaid-example flowchart TB @@ -437,10 +437,10 @@ Examples of tooltip usage below: The tooltip text is surrounded in double quotes. The styles of the tooltip are set by the class `.mermaidTooltip`. ```mermaid-example -flowchart LR; - A-->B; - B-->C; - C-->D; +flowchart LR + A-->B + B-->C + C-->D click A callback "Tooltip for a callback" click B "http://www.github.com" "This is a tooltip for a link" click A call callback() "Tooltip for a callback" @@ -453,11 +453,11 @@ flowchart LR; Links are opened in the same browser tab/window by default. It is possible to change this by adding a link target to the click definition (`_self`, `_blank`, `_parent` and `_top` are supported): ```mermaid-example -flowchart LR; - A-->B; - B-->C; - C-->D; - D-->E; +flowchart LR + A-->B + B-->C + C-->D + D-->E click A "http://www.github.com" _blank click B "http://www.github.com" "Open this in a new tab" _blank click C href "http://www.github.com" _blank @@ -468,10 +468,10 @@ Beginners tip, a full example using interactive links in a html context: ```html
- flowchart LR; - A-->B; - B-->C; - C-->D; + flowchart LR + A-->B + B-->C + C-->D click A callback "Tooltip" click B "http://www.github.com" "This is a link" click C call callback() "Tooltip" @@ -587,9 +587,9 @@ below: ```mermaid-example flowchart LR; - A-->B[AAABBB]; - B-->D; - class A cssClass; + A-->B[AAABBB] + B-->D + class A cssClass ``` @@ -613,7 +613,7 @@ flowchart TD B["fa:fa-twitter for peace"] B-->C[fa:fa-ban forbidden] B-->D(fa:fa-spinner); - B-->E(A fa:fa-camera-retro perhaps?); + B-->E(A fa:fa-camera-retro perhaps?) ```