Small change to the README reflecting the new syntax without semicolons for the flowcharts

This commit is contained in:
knsv
2014-12-16 23:23:27 +01:00
parent a1e415686c
commit 0a3e9ac8e8

View File

@@ -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)