Skip to content

Commit

Permalink
DG: Storage class diagram: change dependencies to associations (se-e…
Browse files Browse the repository at this point in the history
…du#95)

The associations JsonSerializableAddressBook - JsonAdaptedPerson and
JsonAdaptedPerson - JsonAdaptedTag are shown as dependencies instead.

Let's show them with associations. In addition, let's show the * multiplicity
so that it is clear a collection of objects are involved.
  • Loading branch information
seanjyjy authored May 13, 2021
1 parent 16e139d commit 092c395
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/diagrams/StorageClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ Storage -|> AddressBookStorage
JsonUserPrefsStorage .left.|> UserPrefsStorage
JsonAddressBookStorage .left.|> AddressBookStorage
JsonAddressBookStorage .down.> JsonSerializableAddressBook
JsonSerializableAddressBook .right.> JsonAdaptedPerson
JsonAdaptedPerson .right.> JsonAdaptedTag
JsonSerializableAddressBook -right-> "*" JsonAdaptedPerson
JsonAdaptedPerson -right-> "*" JsonAdaptedTag
@enduml
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 092c395

Please sign in to comment.