Transparent Sequence Groups

0 votes
asked Aug 7, 2020 in Wanted features by MiKe

I often draw sequence diagrams for use case realizations that uses both boxes (to group participants, e.g. a controller and a database) and groups (to identify parts where there are alternate flows).

Since the groups have opaque background, the color of the boxes are not visible in the grouped portions.

That's fairly OK if the group isn't more than a few messages high, but I often find myself drawing diagrams where most of the messages are within groups an then the boxes sort of disappear.

Would it be possible to have a transparent group?
E.g. with
skinparam SequenceGroupBodyBackgroundColor transparent

Or by defining a certain color as transparent and use that color as background?
E.g with 
skinparam TransparentColor  Azure
skinparam SequenceGroupBodyBackgroundColor  Azure


1 Answer

0 votes
answered Aug 8, 2020 by Martin

I don't understand...  the very command you're asking for seems to already exist?  What am I missing?

The following generates a transparent group:

skinparam SequenceGroupBodyBackgroundColor transparent
participant D
  box "Internal Service" #LightBlue
  participant A
  participant B
  A -> B
    group test
    B -> D
  end box
B -> D

You can also use style to achieve the same:

commented Aug 10, 2020 by MiKe


I realised that after I posted question.

Did a real newbie mistake by not searching through previous questions =^)
But now it works perfectly...