-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4986db
commit f280d0d
Showing
9 changed files
with
98 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@startuml | ||
skin rose | ||
|
||
class Car { | ||
string model | ||
} | ||
|
||
class Person { | ||
} | ||
|
||
class Wheel { | ||
Float diameter | ||
} | ||
|
||
package roles { | ||
interface Driver { | ||
void drive() | ||
} | ||
interface CarOwner { | ||
List cars | ||
} | ||
} | ||
|
||
abstract Human { | ||
String name | ||
} | ||
|
||
class License { | ||
Date validity | ||
} | ||
|
||
Car "1" *- "4" Wheel : have | ||
Car -- CarOwner : < owns | ||
|
||
Human <|-- Person | ||
Person <|-- Driver | ||
Person <|-- CarOwner | ||
License --o Driver | ||
|
||
Driver - Car : drives > | ||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@startuml | ||
skin rose | ||
|
||
class Car { | ||
string model | ||
} | ||
|
||
class Person { | ||
} | ||
|
||
class Wheel { | ||
Float diameter | ||
} | ||
|
||
package roles { | ||
interface Driver { | ||
void drive() | ||
} | ||
interface CarOwner { | ||
List cars | ||
} | ||
} | ||
|
||
abstract Human { | ||
String name | ||
} | ||
|
||
class License { | ||
Date validity | ||
} | ||
|
||
Car "1" *- "4" Wheel : have | ||
Car -- CarOwner : < owns | ||
|
||
Human <|-- Person | ||
Person <|-- Driver | ||
Person <|-- CarOwner | ||
License --o Driver | ||
|
||
Driver - Car : drives > | ||
@enduml |
Oops, something went wrong.