Mermaid fails to render Gantt chart with cyclic dependencies and invalid references. #6244
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
When creating a Gantt chart with specific dependencies, such as cyclic references or invalid task references, the Mermaid renderer fails to display the chart, leaving the screen white. This behavior occurs without any meaningful error message, making it difficult for users to understand the cause of the issue or how to resolve it.
Steps to reproduce
Screenshots
Code Sample
Setup
Mermaid Version: v11.4.0
Browser: Chrome Version 132.0.6834.160
Suggested Solutions
Additional Context
This issue affects the usability of Gantt charts for users who may unintentionally introduce such dependencies. By improving error handling and feedback, Mermaid can provide a smoother user experience and minimize frustration.
The text was updated successfully, but these errors were encountered: