LLMs (for example gemini) generate mermaid code with "xychart" (not "xychart-beta") and because of that are needed some messy workarrounds in order to render xycharts right
THANKS in advance for your GREAT WORK.
Originally created by @diegosoutoaltia on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17117
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### Problem Description
Current mermaid.js does not render xycharts (it renders only "xycharts-beta")
### Desired Solution you'd like
Kindly suggest upgrading mermaid.js to last version, which already supports "xycharts"
See https://github.com/mermaid-js/mermaid/blob/82800a2c8461370fe133458c12dd42bdc5dc3871/packages/mermaid/src/diagrams/xychart/parser/xychart.jison#L32
### Alternatives Considered
_No response_
### Additional Context
LLMs (for example gemini) generate mermaid code with "xychart" (not "xychart-beta") and because of that are needed some messy workarrounds in order to render xycharts right
THANKS in advance for your GREAT WORK.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @diegosoutoaltia on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17117
Check Existing Issues
Problem Description
Current mermaid.js does not render xycharts (it renders only "xycharts-beta")
Desired Solution you'd like
Kindly suggest upgrading mermaid.js to last version, which already supports "xycharts"
See https://github.com/mermaid-js/mermaid/blob/82800a2c8461370fe133458c12dd42bdc5dc3871/packages/mermaid/src/diagrams/xychart/parser/xychart.jison#L32
Alternatives Considered
No response
Additional Context
LLMs (for example gemini) generate mermaid code with "xychart" (not "xychart-beta") and because of that are needed some messy workarrounds in order to render xycharts right
THANKS in advance for your GREAT WORK.
@tjbck commented on GitHub (Sep 1, 2025):
Addressed in dev!