[Style] Allow RoundCorner on sequence reference

0 votes
asked Aug 16, 2021 in Wanted features by The-Lu (37,840 points)

Hello PlantUML Team,

  • Could you allow PlantUML to manage RoundCorner style on sequence reference?

Example:

@startuml
<style>
sequenceDiagram {
  reference {
    RoundCorner 20
  }
}
</style>
ref over Alice, Bob : this is a reference over Alice and Bob
ref#7700FF over Alice, Bob : this is a reference over Alice and Bob
@enduml

Regards.

1 Answer

0 votes
answered Aug 23, 2021 by plantuml (265,360 points)
selected Aug 24, 2021 by The-Lu
 
Best answer
Many thanks for the report.
This is fixed in last beta http://beta.plantuml.net/plantuml.jar and on the online server.

Tell us if it's not working for you!

Regards,
commented Aug 24, 2021 by The-Lu (37,840 points)
Thanks for this enhancement.
commented Aug 24, 2021 by emalware (240 points)
thanks, could you please paste a link to the different types of styles we can use for the ref object.
commented Aug 24, 2021 by The-Lu (37,840 points)

Hello E.,

All style seems possible expect Shadowing... cheeky

See example here:

@startuml
<style>
sequenceDiagram {
  reference {
    RoundCorner 20
    FontName SansSerif
    HyperLinkColor blue
    FontColor green
    FontSize 14
    FontStyle plain
    HorizontalAlignment center
    DiagonalCorner 5
    LineThickness 2
    LineColor #A80036
    BackGroundColor palegreen
    Shadowing 1
  }
}
</style>
ref over Alice, Bob : this is a reference\n over Alice and Bob
ref#7700FF over Alice, Bob : this is a reference over Alice and Bob
@enduml

If that can help,
Regards,
Th.

commented Aug 24, 2021 by emalware (240 points)
you are right, I just tried it out and it looks like styles works except shadowing
...