Sequence Diagram : CSS styling of group

0 votes
asked Oct 18 in Wanted features by PH
CSS Styling of group does not seem to be implemented :

group<<mygroupstyle>> Group Title

...

end

Does produce an error ...

Is this syntax right ?

Thanks for your help.
commented Oct 18 by albert (3,480 points)
With just one line and no error message shown it is hard to tell what is going wrong. Show a least a small but complete example that produces the problem (and also try it on http://www.plantuml.com/plantuml/uml).

1 Answer

0 votes
answered Oct 18 by The-Lu (60,440 points)

Hello P., and all,

The use of stereotype with group, on sequence diagram, is not yet implemented.

See:

But you can use local style as:

@startuml
<style>
group {
  LineColor red
  LineThickness 1.5
  FontSize 11
  FontStyle plain
  Backgroundcolor pink
}
</style>
a -> b
group Group Title
...
a->b
end
<style>
group {
  LineColor blue
  LineThickness 1.5
  FontSize 11
  FontStyle plain
  Backgroundcolor palegreen
}
</style>
group Group Title
...
a->b
end
@enduml

See also:

Regards,
Th.

commented Oct 19 by PH
It works for me ;-)

Thanks a lot for your help.
...