Skip to content

Commit

Permalink
Update AddExecuteSeqDiagram
Browse files Browse the repository at this point in the history
  • Loading branch information
marquestye committed Nov 14, 2023
1 parent 5761adc commit 0c10941
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions docs/diagrams/AddExecuteSequenceDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ skinparam ArrowFontStyle plain

box Logic LOGIC_COLOR_T1
participant "a:AddCommand" as AddCommand LOGIC_COLOR
participant "<<class>>\nAddCommand" as AddCommandClass LOGIC_COLOR
participant "m:Module" as Module LOGIC_COLOR
participant "result:CommandResult" as CommandResult LOGIC_COLOR
end box

box Model MODEL_COLOR_T1
participant "m:Module" as Module MODEL_COLOR
participant ":Model" as Model MODEL_COLOR
end box

Expand All @@ -22,22 +21,17 @@ activate Model
Model --> AddCommand : moduleToAdd
deactivate Model

AddCommand -> AddCommand : fillUserInputs(year, semester, grade)
activate AddCommand

create Module
AddCommand -> Module
AddCommand -> Module : fillUserInputs(year, semester, grade)
activate Module
Module --> AddCommand: m
deactivate Module

AddCommand --> AddCommand: moduleToAdd
deactivate AddCommand
Module --> AddCommand : m
deactivate Module

AddCommand -> Model : addModule(moduleToAdd)
AddCommand -> Model : addModule(m)
activate Model

Model --> AddCommand : newModule
Model --> AddCommand
deactivate Model

create CommandResult
Expand Down

0 comments on commit 0c10941

Please sign in to comment.