Created
August 5, 2019 17:30
-
-
Save linux-china/0f5cb7a8df0310b791eeb0e8ddb517e6 to your computer and use it in GitHub Desktop.
Composite, Aggregate and Relation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
class Building { | |
- apartments | |
} | |
Building --* Apartment: contains > | |
class Car { | |
- wheels | |
} | |
Car -up-|> Vehicle: Extends | |
Car --o Wheel: has 4 > | |
Person -left-> Apartment: resides > | |
Person .right.> Car: owns > | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment