Monday, 6 February 2023

PlantUML: note over all the participants

Using ‘note across’ statement we can define a note over all the participants.

 

Syntax

note across: noteDescription

 

noteAcross.txt

@startuml

participant Client
participant LoginServer
participant ADServer

note across: Diagram depicts the\n Successful login flow

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.



 

 

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment