Can I change the color of an arrow after already making it?

0 votes
asked Jan 16 in Question / help by anonymous
Say you make an arrow:

firstClass-->secondClass

Is it possible to change the arrow color for this one arrow (so not changing the skinparam settings) after its creation? We can with a class, but I was hoping to do that with an arrow.

1 Answer

0 votes
answered Jan 16 by plantuml (200,620 points)
commented Jan 16 by anonymous
Kind of!
So, you can change the color of a class after it was made:
http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuKhEIImkLaZBB2ekSGOnCGGKb8CBYZBpqjsBKbFpkBWG4hgwTiMfoVbvASZw829GZSwLYNbS3gbvAK2B0000

In the same way that you can say
"class firstClass
class firstClass #SpringGreen"
and change the color, is there a way to change the color of the arrow after it was instantiated?
Maybe something like this:
"firstClass --> secondClass
firstClass --> secondClass #blue"
...