entity
alias that maps to the class diagram class
;*
to identify mandatory attributes.Type | Symbol |
Zero or One |
|o--
|
Exactly One |
||--
|
Zero or Many |
}o--
|
One or Many |
}|--
|
🎉 Copied!
|
|
🎉 Copied!
|
|
Again, this is the normal class diagram syntax (aside from use of
entity
instead of class
). Anything that you can do in a class diagram can be done here.
The *
visibility modifier can be used to identify mandatory attributes. A space can be used after the modifier character to avoid conflicts with the creole bold:
🎉 Copied!
|
|
🎉 Copied!
|
|
Currently the crows feet do not look very good when the relationship is drawn at an angle to the entity. This can be avoided by using the
linetype ortho
skinparam.