mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
Small change to the README reflecting the new syntax without semicolons for the flowcharts
This commit is contained in:
11
README.md
11
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]
|
||||
```
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user