mirror of
https://github.com/13hannes11/bachelor_thesis.git
synced 2024-09-04 01:11:00 +02:00
add sequence diagram for preference handling
This commit is contained in:
38
Additional_Notes/sequence_diagram_preference.plantuml
Normal file
38
Additional_Notes/sequence_diagram_preference.plantuml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
@startuml
|
||||||
|
skinparam monochrome true
|
||||||
|
skinparam SequenceBoxBackgroundColor #ffffff
|
||||||
|
skinparam ParticipantPadding 5
|
||||||
|
skinparam shadowing false
|
||||||
|
hide footbox
|
||||||
|
|
||||||
|
title Preferences
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
activate M.Customer
|
||||||
|
|
||||||
|
|
||||||
|
M.Customer -> M.Collab: like/dislike
|
||||||
|
note left
|
||||||
|
{
|
||||||
|
"type": "like"|"dislike",
|
||||||
|
"data": //String//
|
||||||
|
}
|
||||||
|
end note
|
||||||
|
activate M.Collab
|
||||||
|
|
||||||
|
M.Collab -> M.Collab : update preferences
|
||||||
|
|
||||||
|
M.Customer <- M.Collab: updated preference state
|
||||||
|
deactivate M.Collab
|
||||||
|
note right
|
||||||
|
{
|
||||||
|
"type": "preferenceUpdate",
|
||||||
|
"data": {
|
||||||
|
"likes": //Array<String>//,
|
||||||
|
"dislikes": //Array<String>//
|
||||||
|
}
|
||||||
|
}
|
||||||
|
end note
|
||||||
|
|
||||||
|
@enduml
|
||||||
Reference in New Issue
Block a user