Skip to content

Commit

Permalink
Small change to the README reflecting the new syntax without semicolo…
Browse files Browse the repository at this point in the history
…ns for the flowcharts
  • Loading branch information
knsv committed Dec 16, 2014
1 parent a1e4156 commit 0a3e9ac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 0a3e9ac

Please sign in to comment.