Friday, 10 February 2023

PlantUML: wrap the text using maxMessage

By specifying maxMessageSize, we can wrap the text.

 

Example

skinparam maxMessageSize 60

 

wrapText.txt

@startuml

title Job Scheduler

skinparam maxMessageSize 60

client -> server: Client take the input from user and submit the job
... 5 minutes later...
client <- server: Server read the data from client, execute the job and publish the results

@enduml

 

Above snippet generate below diagram.

 


 

Previous                                                    Next                                                    Home

No comments:

Post a Comment