Merge pull request #3335 from FlorianWoelki/feature/3171_erDiagram_more_symbols

Add generic and array symbols to `erDiagram`
This commit is contained in:
Knut Sveidqvist
2022-08-23 20:07:06 +02:00
committed by GitHub
7 changed files with 78 additions and 26 deletions

View File

@@ -167,6 +167,21 @@ describe('Entity Relationship Diagram', () => {
cy.get('svg');
});
it.only('should render entities with generic and array attributes', () => {
renderGraph(
`
erDiagram
BOOK {
string title
string[] authors
type~T~ type
}
`,
{ logLevel: 1 }
);
cy.get('svg');
});
it('should render entities and attributes with big and small entity names', () => {
renderGraph(
`