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

Self loops do not work #284

Closed
jacob-tye opened this issue Sep 12, 2024 · 4 comments
Closed

Self loops do not work #284

jacob-tye opened this issue Sep 12, 2024 · 4 comments

Comments

@jacob-tye
Copy link

jacob-tye commented Sep 12, 2024

image

  gives

image

on mermaid live it works
image

Removing the self loops makes the code work
image

image

@jacob-tye jacob-tye changed the title Self Loop does not work Self loops do not work Sep 12, 2024
@jobatabs
Copy link

jobatabs commented Sep 16, 2024

This is an issue from upstream Mermaid, this is fixed in Mermaid 11.2.0. Maintainer needs to bump version to 11.2. Would be fixed by PR #282.

@sdevilliers
Copy link

sdevilliers commented Sep 16, 2024

How does one upvote an issue? I am having this problem too. If you need a smaller chart that also reproduces the issue, try this one

flowchart LR
     test{{"@test/testing"}}
     test-- "1" -->test
flowchart LR
    test{{"@test/testing"}}
    test-- "1" -->test
Loading

@mjbvz
Copy link
Owner

mjbvz commented Sep 16, 2024

Confirmed our rendering seem to match what mermaid.live shows

If there are still issues with this, please test on https://mermaid.live first and then file an issue against mermaid directly

@mjbvz mjbvz closed this as completed Sep 16, 2024
@jacob-tye
Copy link
Author

Confirmed it is working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants