Please provide a plain style for edges

0 votes
asked Mar 4, 2016 in Closed feature request by anonymous

I'd 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 edge style available, 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

Please provide a plain style for edges.

1 Answer

0 votes
answered Mar 4, 2016 by plantuml (293,520 points)
selected Jul 8, 2018 by Anthony-Gaudino
Best answer

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.

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