Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erDiagram crashes renderer #6047

Open
NichUK opened this issue Nov 10, 2024 · 0 comments
Open

erDiagram crashes renderer #6047

NichUK opened this issue Nov 10, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@NichUK
Copy link

NichUK commented Nov 10, 2024

Description

When I try the following diagram in any renderer, including MermaidChart editor, the entire UI freezes.

if you remove the last couple of entities, then it works OK.

Steps to reproduce

  1. Create a diagram with the code above
  2. Renderer freezes

Screenshots

No response

Code Sample

erDiagram
    Context ||--|| CurrentContextNode : contains
    Context {
        Guid transactionGuid
        string transactionId
        Instrument2 instrument
        decimal currentPosition
        decimal desiredPosition
    }
    CurrentContextNode ||--|{ Orders : contains
    CurrentContextNode ||--|| PreviousContextNode : accesses
    CurrentContextNode {
        string contextNodeId
        string previousContextNodeId
        string algoId
        IList~Order~ orders "List of Orders"
    }
    PreviousContextNode {
        string contextNodeId
        string previousContextNodeId
        IList~Order~ orders
    }
        Orders {
        int orderId
        string orderRef
        IList~OrderHistory~ orderHistory "Order Adjustment History"
    }
    Orders ||--o{ OrderHistory : contains
    OrderHistory {
        int orderId
        string orderRef
        string status
    }

Setup

  • Mermaid version: 11.40
  • Browser and Version: Edge

Suggested Solutions

No response

Additional Context

No response

@NichUK NichUK added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant