Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/conversation-ui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@ling-stack/ui-react": "workspace:*",
"katex": "^0.19.0",
"lucide-react": "1.58.0",
"mermaid": "^11.12.0",
"mermaid": "^12.2.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the previous Mermaid layout for existing diagrams

Mermaid 12 changes the default layout engine from Dagre to ELK, so every existing flowchart, state, class, ER, requirement, and use-case diagram that does not specify a layout will render with a different structure after this dependency bump. RichContent.tsx initializes Mermaid without a layout override, and the application renders arbitrary stored/AI-generated diagrams, so this causes a visible regression in previously rendered content; set layout: "dagre" (and the prior theme/look where needed) or explicitly accept and test the new layout. See the Mermaid 12 release notes.

Useful? React with 👍 / 👎.

"type-fest": "^5.8.0"
},
"peerDependencies": {
Expand Down
121 changes: 77 additions & 44 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading