-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Mermaid diagram rendering overlaps boxes and labels #10182
Copy link
Copy link
Open
Labels
area:editor-notebooksEditors, notebooks, markdown rendering, LSP, and code display.Editors, notebooks, markdown rendering, LSP, and code display.area:ui-frameworkCore Warp UI framework, rendering, layout, and windowing infrastructure.Core Warp UI framework, rendering, layout, and windowing infrastructure.bugSomething isn't working.Something isn't working.os:macmacOS-specific behavior, regressions, or requests.macOS-specific behavior, regressions, or requests.repro:mediumThe report suggests a plausible repro path, but some uncertainty remains.The report suggests a plausible repro path, but some uncertainty remains.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
area:editor-notebooksEditors, notebooks, markdown rendering, LSP, and code display.Editors, notebooks, markdown rendering, LSP, and code display.area:ui-frameworkCore Warp UI framework, rendering, layout, and windowing infrastructure.Core Warp UI framework, rendering, layout, and windowing infrastructure.bugSomething isn't working.Something isn't working.os:macmacOS-specific behavior, regressions, or requests.macOS-specific behavior, regressions, or requests.repro:mediumThe report suggests a plausible repro path, but some uncertainty remains.The report suggests a plausible repro path, but some uncertainty remains.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Summary
Generated Mermaid diagrams can render with overlapping boxes and labels, making the diagram difficult to read.
Problem
When viewing a generated Mermaid diagram in Warp, parts of the graph layout can collide. In the attached screenshot, a smaller node labeled around “GetTask” overlaps other node text in the same namespace, while the larger “Worker websocket task_completed/failed” node and nearby edges crowd into the same area.
Expected behavior
Mermaid diagrams should render with enough spacing that node boxes, labels, namespace boundaries, and edges remain legible and do not overlap.
Actual behavior
The rendered Mermaid output overlaps multiple node labels and boxes. The central text is stacked/colliding, and the affected portion of the diagram is hard to interpret.
Reproduction steps or desired workflow
Exact Mermaid source is unknown from the report; the attached screenshot shows the failing rendered state.
Artifacts
Screenshot 1: Mermaid diagram rendering with overlapping node labels and boxes inside a namespace, including “GetTask” and “Worker websocket task_completed/failed” nodes.
Warp version
v0.2026.05.05.08.56.dev_00
Operating system
macOS 26.4 (25E246)
Possible source references