Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elk renderer causes arrows to show on connections that aren't supposed to have arrows #5873

Open
DonaverBoxwood opened this issue Sep 18, 2024 · 1 comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@DonaverBoxwood
Copy link

Description

When using the Elk renderer to display flowcharts, connections without arrows (---, -.-, and ===) show arrows.

Steps to reproduce

  1. Create a flowchart and apply the Elk renderer
  2. Connect two nodes using non-arrow connections
  3. Notice how unwanted arrows appear

Screenshots

image

Code Sample

%%{init:{'layout':'elk'}}%%
flowchart LR
    a -.- b
    c --- d
    e === f

Setup

  • Mermaid version: 11.2.1
  • Browser and Version: Firefox 130.0

Suggested Solutions

No response

Additional Context

No response

@DonaverBoxwood DonaverBoxwood added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 18, 2024
@zmbc
Copy link

zmbc commented Oct 4, 2024

Apologies for the simple question, but is Elk the default? I see this issue as well and am not expressly using Elk. I also see it at https://mermaid.js.org/syntax/flowchart.html#links-between-nodes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

2 participants