mermaid
mermaid copied to clipboard
how to have rounded edge and type * + as attribute in ER diagram?
I want rounded edges box to represent weak entities, but not all entities. additionally i also want to type *
and +
to indicate primary key and foreign key how may I possibly do so? Thank you.
suppose I have the following and I want CUSTOMER entity to be rounded and showing the attributes name is primary key *
and foreign key +
```mermaid
erDiagram
CUSTOMER ||--o{ ORDER : places
CUSTOMER {
string name*+
string custNumber
string sector
}
ORDER ||--|{ LINE-ITEM : contains
ORDER {
int orderNumber
string deliveryAddress
}
LINE-ITEM {
string productCode
int quantity
float pricePerUnit
}
```
Hi, I m new to this project and would like to contribute! Can I be assigned to this issue?