[GH-ISSUE #17117] feat: Bump mermaid.js #18171

Closed
opened 2026-04-20 00:23:23 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @diegosoutoaltia on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17117

Check Existing Issues

  • 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 82800a2c84/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.

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.
Author
Owner

@tjbck commented on GitHub (Sep 1, 2025):

Addressed in dev!

<!-- gh-comment-id:3243089952 --> @tjbck commented on GitHub (Sep 1, 2025): Addressed in dev!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#18171