#1196 Keep flowchart node label text (if already defined) when a style is applied

This commit is contained in:
Marc Faber
2020-01-14 23:37:30 +01:00
parent eade3d0a2d
commit b1bfdec473
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/>