mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
72.69k stars 6.62k forks source link

OPen link does not work #6020

Open cotemok opened 3 weeks ago

cotemok commented 3 weeks ago

Description

when I specify open links there is always an arrow.

Steps to reproduce

just declare an open link in flowchart diagram. see https://mermaid.js.org/syntax/flowchart.html#an-open-link

Screenshots

flowchart
A --- B
C --> D

on syntax doc : img

Code Sample

flowchart
A --- B
C --> D

Setup

Suggested Solutions

No response

Additional Context

No response

cbienmueller commented 2 weeks ago

Same problem with mermaid 11.4.0, Google Chrome, Brave-Browser and still in mermaid.live.

If i change the link in my html file from
https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs
to
https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs
it works, so it seems to be a regression in Mermaid 11.

lj0812 commented 5 days ago

I had the same problem