Skip to content

Commit

Permalink
Merge pull request #53 from McNaBry/refactor-DG
Browse files Browse the repository at this point in the history
Update DG diagrams to reflect changes
  • Loading branch information
wxwern authored Oct 20, 2023
2 parents f455f11 + 7d5fc92 commit d918ad5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
12 changes: 9 additions & 3 deletions docs/diagrams/ModelClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Class Contact
Class Address
Class Email
Class Name
Class Id
Class Url
Class Phone
Class Tag

Expand All @@ -38,17 +40,21 @@ UserPrefs .up.|> ReadOnlyUserPrefs
AddressBook *--> "1" UniqueContactList
UniqueContactList --> "~* all" Contact
Contact *--> Name
Contact *--> Id
Contact *--> Phone
Contact *--> Email
Contact *--> Url
Contact *--> Address
Contact *--> "*" Tag

Contact -[hidden]up--> I
UniqueContactList -[hidden]right-> I

Name -[hidden]right-> Phone
Phone -[hidden]right-> Address
Address -[hidden]right-> Email
Name -[hidden]right-> Id
Id -[hidden]right-> Phone
Phone -[hidden]right-> Email
Email -[hidden]right-> Url
Url -[hidden]right-> Address

ModelManager --> "~* filtered" Contact
@enduml
6 changes: 3 additions & 3 deletions docs/diagrams/StorageClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package "AddressBook Storage" #F4F6F6{
Class "<<interface>>\nAddressBookStorage" as AddressBookStorage
Class JsonAddressBookStorage
Class JsonSerializableAddressBook
Class JsonAdaptedPerson
Class JsonAdaptedContact
Class JsonAdaptedTag
}

Expand All @@ -37,7 +37,7 @@ Storage -right-|> AddressBookStorage
JsonUserPrefsStorage .up.|> UserPrefsStorage
JsonAddressBookStorage .up.|> AddressBookStorage
JsonAddressBookStorage ..> JsonSerializableAddressBook
JsonSerializableAddressBook --> "*" JsonAdaptedPerson
JsonAdaptedPerson --> "*" JsonAdaptedTag
JsonSerializableAddressBook --> "*" JsonAdaptedContact
JsonAdaptedContact --> "*" JsonAdaptedTag

@enduml
Binary file modified docs/images/ArchitectureSequenceDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/ModelClassDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/StorageClassDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d918ad5

Please sign in to comment.