Merge pull request #4776 from tomperr/fix/4775_allow-leading-underscore-entity-name

fix(er): allow underscore as leading char
This commit is contained in:
Sidharth Vinod
2023-09-05 05:48:53 +00:00
committed by GitHub
5 changed files with 26 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ Mermaid syntax for ER diagrams is compatible with PlantUML, with an extension to
Where:
- `first-entity` is the name of an entity. Names must begin with an alphabetic character and may also contain digits, hyphens, and underscores.
- `first-entity` is the name of an entity. Names must begin with an alphabetic character or an underscore (from v\<MERMAID_RELEASE_VERSION>+), and may also contain digits and hyphens.
- `relationship` describes the way that both entities inter-relate. See below.
- `second-entity` is the name of the other entity.
- `relationship-label` describes the relationship from the perspective of the first entity.