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

Broken Mermaid Graph in Profile #27

Open
floWetzels opened this issue Sep 11, 2024 · 1 comment
Open

Broken Mermaid Graph in Profile #27

floWetzels opened this issue Sep 11, 2024 · 1 comment
Labels
Type: Bug Something is not working, and it is confirmed by maintainers to be a bug.

Comments

@floWetzels
Copy link
Collaborator

The mermaid graph in the current profile is not rendered correctly on the github website. The amount of artifacts (e.g. missing node labels or incorrect self-loops) depends on the browser. In visual studio code, the graph is not rendered at all (error message Cannot read properties of undefined (reading 'node')). However, the graph is rendered correctly in the Mermaid Live Editor (see screenshot).
Should we wait in case this is a github problem or try to find fix? @HLWeil @stuzart

Screenshot from 2024-09-11 16-31-36

@github-actions github-actions bot added the Status: Needs Triage This item is up for investigation. label Sep 11, 2024
@HLWeil HLWeil added Type: Bug Something is not working, and it is confirmed by maintainers to be a bug. and removed Status: Needs Triage This item is up for investigation. labels Sep 18, 2024
@floWetzels
Copy link
Collaborator Author

Turns out this is actually an open issue in mermaid (mermaid-js/mermaid#6049). GitHub seems to be using a buggy version for mermaid rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something is not working, and it is confirmed by maintainers to be a bug.
Projects
Status: No status
Development

No branches or pull requests

2 participants