Skip to content

Commit

Permalink
Merge pull request #64 from ForAeons/update-uml
Browse files Browse the repository at this point in the history
docs: update uml diagram to include NusNetId
  • Loading branch information
wxiaoyun authored Mar 20, 2024
2 parents 6f3f15d + 5b0074c commit 693f26b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/diagrams/BetterModelClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ UniquePersonList -right-> Person
Person -up-> "*" Tag

Person *--> Name
Person *--> NusNetId
Person *--> Phone
Person *--> Email
Person *--> Address
Expand Down
5 changes: 4 additions & 1 deletion docs/diagrams/ModelClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Class UserPrefs

Class UniquePersonList
Class Person
Class NusNetId
Class Address
Class Email
Class Name
Expand All @@ -38,6 +39,7 @@ UserPrefs .up.|> ReadOnlyUserPrefs
AddressBook *--> "1" UniquePersonList
UniquePersonList --> "~* all" Person
Person *--> Name
Person *--> NusNetId
Person *--> Phone
Person *--> Email
Person *--> Address
Expand All @@ -46,7 +48,8 @@ Person *--> "*" Tag
Person -[hidden]up--> I
UniquePersonList -[hidden]right-> I

Name -[hidden]right-> Phone
Name -[hidden]right-> NusNetId
NusNetId -[hidden]right-> Phone
Phone -[hidden]right-> Address
Address -[hidden]right-> Email

Expand Down

0 comments on commit 693f26b

Please sign in to comment.