Thursday, 19 January 2023

PlantUML: Add the title to a diagram

‘title’ keyword adds a title to the diagram.

 

addTitle.txt

@startuml

title "Login successful 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