Skip to content

Error when previewing entities with long names #123

Open
@luizgsbraz

Description

Expected behaviour

The entity below

erDiagram
  
    MY_ENTITY["My Simple Entity"] {
        NUMBER(38) ID_MY_ENTITY PK "Identifier and primary key of MY_ENTITY"
        VARCHAR2(255) DSC_MY_ENTITY "Description of the MY_ENTITY"
    }

It should be shown as the picture below

expected

Actual behaviour

However, the previewer shows the error bellow:

error

Initial Investigation

Just removing the long name, it works.

with_no_long_name

The espect sugests that the mermaid.js could be outdated.

https://mermaid.js.org/syntax/entityRelationshipDiagram.html#entity-name-aliases-v10-5-0

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions