# PlantUML entity and connector types ## Entities ```plantuml abstract abstract class class entity entity interface interface ``` ### Specialized Entities ```plantuml annotation annotation enum enum circle circle () circle_short_form ``` ### Diamonds ```plantuml diamond diamond_no_text <> diamond_short_form ``` ## Connectors ### Associations ```plantuml Class1 -- Class4 : undirected Class2 <-- Class5 : directed Class3 <.. Class6 : dependency ``` ### Generalization (Inheritance) ```plantuml Parent <|-- Child : inheritance Interface <|.. Class : realization ``` ### Aggregations ```plantuml Owner1 *-- Item1 : composition Owner2 o-- Item2 : aggregation ``` WIth `composition`, the item gets destroyed with the owner. With `aggretation`, items can outlive their owners. Therefore, in `aggreation` relationships, the owner collects references passively and does not truly own the item. ## Connector Reference ![UML Connectors](UML%20Connectors.png)