Skip to content

Commit

Permalink
Omit less important details in diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
tsulim committed Apr 14, 2024
1 parent 4caaa9f commit 67d8632
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/diagrams/FavRefSequenceDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
!include style.puml
skinparam ArrowFontStyle plain

mainframe **sd** create favourite person
mainframe **sd** create a favourite person

box Logic LOGIC_COLOR_T1
participant "f:FavCommand" as FavCommand LOGIC_COLOR
Expand Down
7 changes: 1 addition & 6 deletions docs/diagrams/FavSequenceDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ box Logic LOGIC_COLOR_T1
participant ":LogicManager" as LogicManager LOGIC_COLOR
participant ":StaffConnectParser" as StaffConnectParser LOGIC_COLOR
participant ":FavCommandParser" as FavCommandParser LOGIC_COLOR
participant "<<class>>\nParserUtil" as ParserUtil LOGIC_COLOR
participant "f:FavCommand" as FavCommand LOGIC_COLOR
participant "r:CommandResult" as CommandResult LOGIC_COLOR
end box
Expand All @@ -31,10 +30,6 @@ deactivate FavCommandParser
StaffConnectParser -> FavCommandParser : parse("1")
activate FavCommandParser

FavCommandParser -> ParserUtil : parseIndex("1")
activate ParserUtil
return

create FavCommand
FavCommandParser -> FavCommand++
return
Expand All @@ -50,7 +45,7 @@ FavCommand -> Model : getSortedFilteredPersonList()
activate Model
return

ref over FavCommand : create favourite person
ref over FavCommand : create a favourite person

FavCommand -> Model : setPerson(personToFav, favPerson)
activate Model
Expand Down
2 changes: 1 addition & 1 deletion docs/diagrams/UnfavRefSequenceDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
skinparam ArrowFontStyle plain
skinparam ParticipantPadding 20

mainframe **sd** create unfavourite person
mainframe **sd** create an unfavourite person

box Logic LOGIC_COLOR_T1
participant "u:UnfavCommand" as UnfavCommand LOGIC_COLOR
Expand Down
7 changes: 1 addition & 6 deletions docs/diagrams/UnfavSequenceDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ box Logic LOGIC_COLOR_T1
participant ":LogicManager" as LogicManager LOGIC_COLOR
participant ":StaffConnectParser" as StaffConnectParser LOGIC_COLOR
participant ":UnfavCommandParser" as UnfavCommandParser LOGIC_COLOR
participant "<<class>>\nParserUtil" as ParserUtil LOGIC_COLOR
participant "u:UnfavCommand" as UnfavCommand LOGIC_COLOR
participant "r:CommandResult" as CommandResult LOGIC_COLOR
end box
Expand All @@ -31,10 +30,6 @@ deactivate UnfavCommandParser
StaffConnectParser -> UnfavCommandParser : parse("1")
activate UnfavCommandParser

UnfavCommandParser -> ParserUtil : parseIndex("1")
activate ParserUtil
return

create UnfavCommand
UnfavCommandParser -> UnfavCommand++
return
Expand All @@ -50,7 +45,7 @@ UnfavCommand -> Model : getSortedFilteredPersonList()
activate Model
return

ref over UnfavCommand : create unfavourtie person
ref over UnfavCommand : create an unfavourite person

UnfavCommand -> Model : setPerson(personToUnfav, unfavPerson)
activate Model
Expand Down
Binary file modified docs/images/FavRefSequenceDiagram.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/FavSequenceDiagram.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/UnfavRefSequenceDiagram.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/UnfavSequenceDiagram.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 67d8632

Please sign in to comment.