Tuesday 16 April 2024

PlantUML: Customize caption color, font using style tag

captionColorFont.txt

@startuml
<style>
caption {
  FontColor #red
  FontName Papyrus
  FontSize 24
  FontStyle italic
}
</style>

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