Sunday, 10 September 2023

Customizing Link Color and Style in PlantUML Class Diagrams

Using below notation, we can customize the link color and style.

 

#color;line.[bold|dashed|dotted];text:colo

 

inlineStyle.txt

@startuml

Class1 --> Class2
Class1 --> Class3  #line:red;line.bold;text:red : red and bold
Class1 --> Class4 #line:blue;line.dashed;text:blue  : blue and dashed
Class1 --> Class5 #line:00ff00;line.dotted;text:green : green and dotted

@enduml

 

Find the below working application.

 


 

Previous                                                    Next                                                    Home

No comments:

Post a Comment