Saturday, 11 February 2023

PlantUML: Specify a space in the diagram using |||

Using |||, we can specify a space in the diagram. You can even specify number of pixels to use using this notation ||50|| (Specify 50 pixels to use for the spacing).

 

space.txt

@startuml

title Job Scheduler

sys1 -> sys2: M1
sys1 <- sys2: M2
|||
sys1 -> sys2: M3
sys1 <- sys2: M4
||100||
sys1 -> sys2: M5

@enduml

 

Above snippet generate below diagram.


 
 

Previous                                                    Next                                                    Home

No comments:

Post a Comment