-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Flowchart arrowless edges stopped working in v11 #5813
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Comments
alnvdl-work
added
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
labels
Sep 2, 2024
alnvdl-work
changed the title
Arrowless edges stopped working in v11
Flowchart arrowless edges stopped working in v11
Sep 2, 2024
Seems like GitHub has updated its copy of Mermaid - it's now showing the incorrect arrow heads too. flowchart TD
a -- edge --- b
|
4 tasks
4 tasks
Am I understanding right that a fundamental edge type has been broken for three months? Is there a workaround? |
4 tasks
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
Description
The following produces a diagram with no arrows from a to b.
For example, as of the reporting of this bug, GitHub still uses an older version of Mermaid that seems to render no arrows:
In v11, there's an arrow from a to b. Example: https://mermaid.live/edit#pako:eNolyksKAyEQBNCrSK3HC7ieGyRLNx1tdcBPMC0hDHP3dEhtqgreiTAiwyHV8Q6Fppj77rvRkLHWcMysbc0DGxrPRkdUff6IhxRu7OF0Rk60qnj4fimlJeP26QFO5uINc6xc4BLVl771jCS8H5QntT-5vqJxLPo
The documentation seems to imply there's still support for an "open link", whose example now looks exactly like "link with arrow head": https://mermaid.js.org/syntax/flowchart.html#links-between-nodes
As a side note (and perhaps a separate bug?): the
curve
property seems to have no effect when using the elk layout.Steps to reproduce
Render the following diagram with v10 and v11 and compare the results:
Screenshots
No response
Code Sample
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: