Tuesday, 16 April 2024

PlantUML: Add caption under the diagram

Using ‘caption’ keyword, you can add a caption under the diagram.

caption.txt

@startuml

caption figure 1 : Login Server

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 generate below diagram.

 


  

Previous                                                    Next                                                    Home

No comments:

Post a Comment