Files
outline/shared/editor/extensions
Tom MoorandClaude Fable 5.1 1887db2dab fix: Mermaid diagrams laid out with nodes thousands of pixels apart (#13648)
* fix: Mermaid diagrams laid out with nodes thousands of pixels apart

Render diagrams with SVG text labels instead of HTML labels, except mindmaps. HTML labels are measured through foreignObject elements that some browsers size incorrectly in Mermaid's hidden render container, inflating node sizes for layout. Also removes the render container that was never passed to Mermaid.

* chore: Clarify Mermaid render container comment

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-04 17:15:39 -04:00
..
2026-09-02 20:31:37 -04:00