Skip to content

Commit

Permalink
Merge pull request #94 from nihalramesh12629/update-uml
Browse files Browse the repository at this point in the history
Update UML Diagrams
  • Loading branch information
AgentHagu authored Oct 24, 2024
2 parents 970404d + b5c2cc2 commit 779e2e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/diagrams/BetterModelClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,10 @@ Person *--> Email
Person *--> Address
Person *--> "1..*" Subject
Person *--> "1..*" Class

' Adding Student as a subclass of Person with extra attributes
Student -up-|> Person
Student *--> NextOfKinName
Student *--> NextOfKinPhone

@enduml
2 changes: 1 addition & 1 deletion docs/diagrams/LogicClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ LogicManager --> Storage
Storage --[hidden] Model
Command .[hidden]up.> Storage
Command .right.> Model
note right of XYZCommand: XYZCommand = AddCommand, \nFindCommand, etc
note right of XYZCommand: XYZCommand = AddStudentCommand, \nFindCommand, etc

Logic ..> CommandResult
LogicManager .down.> CommandResult
Expand Down
2 changes: 1 addition & 1 deletion docs/diagrams/UndoRedoState2.puml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ skinparam ClassFontColor #000000
skinparam ClassBorderColor #000000
skinparam ClassBackgroundColor #FFFFAA

title After command "add n/David"
title After command "student n/David"

package States <<rectangle>> {
class State1 as "<u>ab0:AddressBook</u>"
Expand Down

0 comments on commit 779e2e0

Please sign in to comment.