Using ‘note left of’, ‘note right of’ and ‘note over’ keywords we can add a notes relative the participants in a sequence diagram.
participantNotes.txt
@startuml participant Client participant LoginServer participant ADServer note left of Client #aqua Client is responsible to collect user credentials end note note right of ADServer #gold Responsible to validate user credentials end note note over LoginServer #lightblue Collect user credentials from client and validate them with ADServer end note Client -> LoginServer: Enter user name Client -> LoginServer: Enter password Client -> LoginServer: Submit the form LoginServer -> ADServer: Check the credentials ADServer -> LoginServer: Login Successful LoginServer -> Client: Login Successful @enduml
Above snippet generates below diagram.
No comments:
Post a Comment