From 0a3e9ac8e8ea88adbf5c2fc52386c80b12dd003d Mon Sep 17 00:00:00 2001 From: knsv Date: Tue, 16 Dec 2014 23:23:27 +0100 Subject: [PATCH] Small change to the README reflecting the new syntax without semicolons for the flowcharts --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 93d043648c..c027212de7 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,17 @@ graph LR; C-->|Two|E[Result two]; ``` +Below is the new declaration of the graph which since 0.2.16 also is valid along with the old declaration of the graph as described in the graph example on the home wiki page. + +``` +graph LR + A[Hard edge] -->|Link text| B(Round edge) + B --> C{Decision} + C -->|One| D[Result one] + C -->|Two| E[Result two] +``` + + ![Example 2](http://www.sveido.com/mermaid/img/ex2.png)