mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #17117] feat: Bump mermaid.js #33700
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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.
@tjbck commented on GitHub (Sep 1, 2025):
Addressed in dev!