mermaid icon indicating copy to clipboard operation
mermaid copied to clipboard

linkStyle link color doesn't work with flowchart-elk

Open DanWillans opened this issue 1 year ago • 2 comments

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

  1. 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.

  1. 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

DanWillans avatar Aug 16 '23 09:08 DanWillans