ABCParticlesname: strdata: DataContaineradd_particles(iterable: iterable of Particle): uuid.UUIDget_particle(uid: uuid.UUID): Particleupdate_particles(iterable: iterable of Particle)remove_particles(uids: iterable of uuid.UUID)iter_particles(uids: iterable of uuid.UUID {optional}): iterator of Particle {unordered}has_particle(uid: uuid.UUID): booleanadd_bonds(iterable: iterable of Bond): uuid.UUIDget_bond(uid: uuid.UUID): Bondupdate_bonds(iterable: iterable of Bond)remove_bonds(uids: iterable of uuid.UUID)iter_bonds(uids: iterable of uuid.UUID {optional}): iterator of Bond {unordered}has_bond(uid: uuid.UUID): booleancount_of(key: CUDSItem): integer
@startuml
title Modifier workshop
(*) --> "Page liste des ateliers"
-->[clic sur modifier] "Page modification d'workshop"
--> "Remplir les champs"
if "Informations correctes" then
-->[true] "Page liste des ateliers"
--> (*)
else
-->[false] "Page modification d'workshop"
@enduml
@startuml
:user: as u
(User Interface) as ui
(Script Pool) as sp
u -- ui : 新建消息及响应:\n定义消息特征,\n描述默认响应
u -- ui : 删除消息及响应:\n删除指定名称的消息
u -- ui : 修改消息及响应:\n修改指定名称的消息中,\n消息的特征和响应
ui -- sp : 操作指定的消息
@enduml
@startuml
skinparam backgroundColor #EEEBDC
skinparam sequence {
ArrowColor DeepSkyBlue
ActorBorderColor DeepSkyBlue
LifeLineBorderColor blue
LifeLineBackgroundColor #A9DCDF
ParticipantBorderColor DeepSkyBlue
ParticipantBackgroundColor DodgerBlue
ParticipantFontName Impact
ParticipantFontSize 17
ParticipantFontColor #A9DCDF
ActorBackgroundColor aqua
ActorFontColor DeepSkyBlue
ActorFontSize 17
ActorFontName Aapex
}
actor User
participant "First Class" as A
participant "Second Class" as B
participant "Last Class" as C
User -> A: DoWork
activate A
A -> B: Create Request
activate B
B -> C: DoWork
activate C
C --> B: WorkDone
destroy C
B --> A: Request Created
deactivate B
A --> User: Done
deactivate A
@enduml
SEQUENCE DIAGRAM
4908691547488256
Automatic placement of classesdoesn't look good. This diagramhas to be improved.AuthConfigurableClientListDataSourceClientZoneWriterZoneTableAccessorDataSourceStatusZoneTableIteratorDataSourceInfoZoneTableSegmentCacheConfigZoneTableAccessorCacheZoneTableIteratorCacheZoneDataZoneTableHeaderMemorySegmentLoadActionZoneDataLoaderZoneDataUpdaterRdataSetZoneTableLoadFromFileIteratorLoaderMemorySegmentMappedMemorySegmentLocalZoneTableSegmentMappedZoneTableSegmentLocal1*1*«reset»«create»«create»«create»1*1*1*«create»«create»add/replace1111createcreateadd111111
CLASS DIAGRAM
4914368688947200
Automatic placement of classesdoesn't look good. This diagramhas to be improved.AuthConfigurableClientListDataSourceClientZoneWriterZoneTableAccessorDataSourceStatusZoneTableIteratorDataSourceInfoZoneTableSegmentCacheConfigZoneTableAccessorCacheZoneTableIteratorCacheZoneDataZoneTableHeaderMemorySegmentLoadActionZoneDataLoaderZoneDataUpdaterRdataSetZoneTableLoadFromFileIteratorLoaderMemorySegmentMappedMemorySegmentLocalZoneTableSegmentMappedZoneTableSegmentLocal1*1*«reset»«create»«create»«create»1*1*1*«create»«create»add/replace1111createcreateadd111111
@startuml
actor "Funcionário/Cliente" as func
activate func
func -> ":Interface" : Informa usuário e senha
activate ":Interface"
activate ":Controlador"
":Interface" -> ":Controlador" : Informa usuário e senha
activate ":Logon"
":Controlador" -> ":Logon" : do_logon()
":Logon" --> ":Controlador" : Login Ok
deactivate ":Logon"
":Controlador" --> ":Interface" : Login Ok
deactivate ":Controlador"
deactivate ":Interface"
deactivate func
opt
group ref Manter chamados
end
end
@enduml
SEQUENCE DIAGRAM
4916319409405952
Mobile AppMobile AppUserUserReseller UIReseller UIDatabaseDatabase1Send me the password resetlink2Password reset link sent toyour email address3Visit the password reset link4Ask for password and TOTP5Input the new password6Get the TOTP7Input the TOTP8Validate the TOTPalt[If TOTP valid]9Update the user's password[Otherwise]10Ask the user to input thecorrect TOTP
SEQUENCE DIAGRAM
4918105042059264
Mobile AppMobile AppUserUserReseller UIReseller UIDatabaseDatabase1Send me the password resetlink2Password reset link sent toyour email address3Visit the password reset link4Ask for password and TOTP5Input the new password6Get the TOTP7Input the TOTP8Validate the TOTPalt[If TOTP valid]9Update the user's password[Otherwise]10Ask the user to input thecorrect TOTP
@startuml
autonumber
participant "Mobile App" as token
actor User as user
participant "Reseller UI" as reseller_ui
participant "Database" as db
user -> reseller_ui : Send me the password reset \nlink
user <- reseller_ui : Password reset link sent to \nyour email address
user -> reseller_ui : Visit the password reset link
user <- reseller_ui : Ask for password and TOTP
user -> reseller_ui : Input the new password
token <- user : Get the TOTP
user -> reseller_ui : Input the TOTP
reseller_ui -> reseller_ui : Validate the TOTP
alt If TOTP valid
reseller_ui -> db : Update the user's password
else Otherwise
user <- reseller_ui : Ask the user to input the \ncorrect TOTP
end
@enduml
@startuml
actor User
rectangle system {
User -> (ChangeDifficulty)
User -> (AddHighScore)
User -> (StartGame)
User -> (ReturnToMainMenu)
User -> (SpawnCar)
}
@enduml
USE CASE DIAGRAM
4919592442920960
ElevatorStoppedMovingNext StopNo More StopsHas More Stops
STATE DIAGRAM
4920323661103104
ElevatorStoppedMovingNext StopNo More StopsHas More Stops
@startuml
actor User
User->App:reset forgotten password
App->Server:makeGetRequest()
Server->Database:resetPasssword()
Database-->Server:ResultSet
alt email exists
Server->Email:Reset password link
Server-->App:HTTP Response(success:true)
opt user clicks the link
Email-->Server:resetpassword=true
Server->Database:reset password
end
else else
Server-->App:HTTP Response(success:false)
end
@enduml