From the documentation its clear of how to color all the arrows using a skinparam and I can change the overall color of a component using colors. Its just unclear to me on how to color the arrows only.
e.g. in the below example how could I make the arrow from component1 to component3 have a different colour
Plant UML Code
@startuml
[Component1] as 1
[Component2] as 2
[Component3] as 3
1 --> 2
1 --> 3
@enduml
Resulting Diagram
Add the color within brackets inside the arrow you want colored: 1 -[#blue]-> 3
You can use hex color code as well: #0000FF instead of #blue for example.
@startuml
[Component1] as 1
[Component2] as 2
[Component3] as 3
1 --> 2
1 -[#blue]-> 3
@enduml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With