Mermaid graphs disappearing

In chat, frequently mermaid diagrams disappear:

  1. msg - shows diagram
  2. another message shows a different diagram but sometimes the one from previous message disappears
  3. sometimes newer messages cause all of the diagrams to disappear from entire chat, including future ones

Version: 2.3.20 (user setup)
VSCode Version: 1.105.1
Commit: e3fd5c7abddff43abcd46fd93c25e85145200ad0
Date: 2026-01-02T20:39:53.706Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.19045

2 Likes

Hey, thanks for the report.

This looks like an issue with the Mermaid renderer in chat.

To help with debugging, could you share:

  • The Request ID of the chat where this happens (Chat context menu > Copy Request ID)
  • A screenshot or a short video of the issue
  • Does it happen consistently? If yes, what steps reproduce it?

Also, can you confirm if you have the “Markdown Preview Mermaid Support” extension by bierner installed?

request: 213225bf-04f3-406d-b169-553acb9b131e

yes can reproduce easily:

  1. i restart cursor
  2. open the chat with graphs and they appear
  3. switch to different chat
  4. switch back to one with graphs
  5. graphs are gone as seen on screenshot

it happens basically every single time, i ask for graph, it gives, ask for another in next msg, scroll up they gone

no extensions installed

Thanks for the detailed info.

This is a known issue with the Mermaid renderer in the chat. Diagrams can disappear when switching between chats or when scrolling.

The team is working on a fix.

As a temporary workaround, you can ask the AI to regenerate the diagrams, like you’ve already been doing.

1 Like