Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

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

0 votes
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
 
asked Mar 4, 2016 in Wanted features by anonymous

1 Answer

0 votes

Good idea!

With last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

You can have

@startuml
class a

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

 

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.

answered Mar 4, 2016 by plantuml (124,290 points)
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
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...