Design Syntax Reference
Diagram ::= Element+
Element ::=
"ENTITY" Name Attributes
| "WEAK" "ENTITY" Name Support+ Attributes
| "ISA" Name SuperEntity Attributes
| "RELATIONSHIP" Name RelatedEntity+ Attributes
Attributes ::=
":" Attribute* # attributes start after colon
| # no attributes at all, no colon needed
RelatedEntity ::= Arrow Entity ("(" Role ")")? # optional role in parentheses
Support ::= Entity WeakRelationship
Arrow ::= "--" | "->" | "-)"
Attribute ::= Ident | "_"Ident
Entity, SuperEntity, Relationship, WeakRelationship, Role ::= Ident