Skip to content

Mermaid Diagram Parsing ErrorΒ #6712

@benzntech

Description

@benzntech

App Version

3.25.6

API Provider

Not Applicable / Other

Model Used

N/A

Roo Code Task Links (Optional)

No response

πŸ” Steps to Reproduce

  1. Open Visual Studio Code.

  2. Ensure the Roo-Code extension (version 3.25.6) is installed and active.

  3. Attempt to render a Mermaid diagram with the following syntax (or similar):

Code snippet

flowchart TD A[Users Credentials] --> B{AuthController@che

  1. Observe the developer console logs in Visual Studio Code.

πŸ’₯ Outcome Summary

The Mermaid diagram fails to render and displays a parsing error in the console. The error message indicates an unexpected token (LINK_ID) at a specific point in the diagram's syntax, suggesting an issue with the Mermaid parser within the extension.

πŸ“„ Relevant Logs or Errors (Optional)

index.js:2306 Mermaid parse/render failed: Error: Parse error on line 2: 
...rs Credentials] --> B{AuthController@che 
-----------------------^ 
Expecting 'AMP', 'COLON', 'PIPE', 'TESTSTR', 'DOWN', 'DEFAULT', 'NUM', 'COMMA', 'NODE_STRING', 'BRKT', 'MINUS', 'MULT', 'UNICODE_TEXT', got 'LINK_ID'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions