Skip to content

Commit

Permalink
Merge pull request #46 from STELLA-LYE/Update-UML
Browse files Browse the repository at this point in the history
Update uml
  • Loading branch information
jocelyn-soh authored Mar 21, 2024
2 parents c68da10 + fd6aacc commit 4e7887e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/diagrams/BetterModelClassDiagram.puml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@startuml
!pragma layout smetana
!include style.puml
skinparam arrowThickness 1.1
skinparam arrowColor MODEL_COLOR
Expand All @@ -17,7 +18,7 @@ Person -up-> "*" Group
Person *--> Name
Person *--> Phone
Person *--> Email
Person *--> Address
Person *--> Major
Person *--> Year
Person *--> Telegram
@enduml
18 changes: 18 additions & 0 deletions docs/diagrams/DeleteActivityDiagram.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@startuml
start
:Student TA executes add command;

if () then ([command is in invalid format])
:Show invalid command format as error message;

else ([else])
if () then ([Student already exists in TutorsContactsPro])
: Show duplicate group error message;
else([else])
: Add student to the contact list;
: Displays student list in the GUI;
endif

endif
stop
@enduml
3 changes: 2 additions & 1 deletion docs/diagrams/ModelClassDiagram.puml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@startuml
!pragma layout smetana
!include style.puml
skinparam arrowThickness 1.1
skinparam arrowColor MODEL_COLOR
Expand Down Expand Up @@ -42,7 +43,7 @@ Person *--> Phone
Person *--> Email
Person *--> Year
Person *--> Telegram
Person *--> Address
Person *--> Major
Person *--> "*" Group

Person -[hidden]up--> I
Expand Down

0 comments on commit 4e7887e

Please sign in to comment.