Merge pull request #1587 from GDFaber/documentation/fix_flowchart_style_example

Flowchart documentation: Fix code example for styling nodes
This commit is contained in:
GDFaber 2020-07-30 01:31:28 +02:00 committed by GitHub
commit 4e3bdf0925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -640,13 +640,13 @@ It is possible to apply specific styles such as a thicker border or a different
graph LR
id1(Start)-->id2(Stop)
style id1 fill:#f9f,stroke:#333,stroke-width:4px
style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5, 5
style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
```
```mermaid
graph LR
id1(Start)-->id2(Stop)
style id1 fill:#f9f,stroke:#333,stroke-width:4px
style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5, 5
style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
```