Thursday, 14 December 2023

PlantUML: customize line thickness in a deployment diagram

Using thickness keyword, we can customize the line thickness.

lineThickness.txt

@startuml

node node1
node node2
node node3
node node4
node node5

node1 -[thickness=1]-> node2
node1 -[thickness=3]-> node3
node1 -[thickness=9]-> node4
node1 -[thickness=15]-> node5

@enduml

 

Above snippet generate below diagram.

 


Previous                                                    Next                                                    Home

No comments:

Post a Comment