Is there a "plain" style? If not, can it be added?

0 votes
asked Mar 4, 2016 in Wanted features by anonymous
could you please add a "plain" line style? I like to define constants at the top of my diagram so that i can more easily change the appearance of individual subsets of elements. Because there is no "plain", I am running into syntax issues trying to work around the required comma between the color and style.  I would use it like so:
!define color #blue
!define style plain
a <|-[color,style]- b

1 Answer

0 votes
answered Mar 4, 2016 by plantuml (164,520 points)

Good idea!

With last beta

You can have

class a

a <|-[#FF0000,bold]- b
a <|-[#00FF00,plain]- c


Is this what you are expecting? Few tests have been done, so do not hesitate to post again if you find issues.

Thanks for the suggestion.

commented Mar 4, 2016 by anonymous
Cool, thanks. That is what I was expecting. I was also able to find a decent workaround for me to the issue of not having plain.
define color #blue
!define style color,bold
a <|-down[style]- b