mermaid
mermaid copied to clipboard
linkStyle link color doesn't work with flowchart-elk
Description
When I attempt to set the link colour in a flowchart-elk
it doesn't work like it does with flowchart
.
Steps to reproduce
- Using this example
flowchart-elk LR
A -->|link| B
%% Define linkstyles
linkStyle 0 stroke:#ff0000,color:red
will give this chart where you can see the line colour is wrong.
- Using normal flowchart
flowchart LR
A -->|link| B
%% Define linkstyles
linkStyle 0 stroke:#ff0000,color:red
Gives a graph like this where the line colour is right:
Screenshots
No response
Code Sample
No response
Setup
- Mermaid version: Latest
- Browser and Version: chrome latest, firefox latest, mermaid-cli latest
Suggested Solutions
No response
Additional Context
No response