Merge pull request #1204 from GDFaber/bug/1196_keep_flowchart_label_text_when_style_is_applied

Keep flowchart node label text (if already defined) when a style is applied
This commit is contained in:
Knut Sveidqvist
2020-01-15 18:27:48 +01:00
committed by GitHub
4 changed files with 41 additions and 1 deletions

8
dist/index.html vendored
View File

@@ -343,6 +343,14 @@ class A someclass;
linkStyle 1 stroke:DarkGray,stroke-width:2px
linkStyle 2 stroke:DarkGray,stroke-width:2px
</div>
<div class="mermaid">
graph LR
A(( )) -->|step 1| B(( ))
B(( )) -->|step 2| C(( ))
C(( )) -->|step 3| D(( ))
linkStyle 1 stroke:greenyellow,stroke-width:2px
style C fill:greenyellow,stroke:green,stroke-width:4px
</div>
<hr/>