Skip to content

Commit

Permalink
Merge pull request #139 from AY2324S2-CS2103T-W10-4/update-uml-diagrams
Browse files Browse the repository at this point in the history
Update uml diagrams for StorageClass and UIClass
  • Loading branch information
STELLA-LYE authored Apr 14, 2024
2 parents 564eeb6 + 03bdf9d commit 1570d0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/diagrams/StorageClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Class JsonAddressBookStorage
Class JsonSerializableAddressBook
Class JsonAdaptedPerson
Class JsonAdaptedGroup
class JsonAdaptedPersonGroupAttendance
}

}
Expand All @@ -38,6 +39,7 @@ JsonUserPrefsStorage .up.|> UserPrefsStorage
JsonAddressBookStorage .up.|> AddressBookStorage
JsonAddressBookStorage ..> JsonSerializableAddressBook
JsonSerializableAddressBook --> "*" JsonAdaptedPerson
JsonAdaptedPerson --> "*" JsonAdaptedGroup
JsonSerializableAddressBook --> "*" JsonAdaptedGroup
JsonAdaptedPerson --> "*" JsonAdaptedPersonGroupAttendance

@enduml
4 changes: 4 additions & 0 deletions docs/diagrams/UiClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Class "<<interface>>\nUi" as Ui
Class "{abstract}\nUiPart" as UiPart
Class UiManager
Class MainWindow
Class MailWindow
Class HelpWindow
Class ResultDisplay
Class PersonListPanel
Expand All @@ -34,6 +35,7 @@ MainWindow *-down-> "1" CommandBox
MainWindow *-down-> "1" ResultDisplay
MainWindow *-down-> "1" PersonListPanel
MainWindow *-down-> "1" StatusBarFooter
MainWindow --> "0..1" MailWindow
MainWindow --> "0..1" HelpWindow

PersonListPanel -down-> "*" PersonCard
Expand All @@ -45,13 +47,15 @@ CommandBox --|> UiPart
PersonListPanel --|> UiPart
PersonCard --|> UiPart
StatusBarFooter --|> UiPart
MailWindow --|> UiPart
HelpWindow --|> UiPart

PersonCard ..> Model
UiManager -right-> Logic
MainWindow -left-> Logic

PersonListPanel -[hidden]left- HelpWindow
MailWindow -[hidden]left- CommandBox
HelpWindow -[hidden]left- CommandBox
CommandBox -[hidden]left- ResultDisplay
ResultDisplay -[hidden]left- StatusBarFooter
Expand Down

0 comments on commit 1570d0e

Please sign in to comment.