Does sequence diagram support grouping messages from specified participant(s)?

+1 vote
asked Jun 5, 2017 in Won't implement by mikezuk (120 points)

The "group" keyword in the sequence diagram currently group messages from all participant in between the group definition and the "end group" statement.

My question is: is there a way that I can only create a group, which group messages from one or more participants? Like what note does..


for example:

@startuml

participant A

participant B

participant C

group over A, B : This ideally only group messages from/to A and B

A ->> B : Message 1

B ->> C : Message 2

C ->> A : Message 3

A ->> C : Message 4

end group

@enduml

Thanks a lot guys.

1 Answer

0 votes
answered Jun 6, 2017 by plantuml (205,940 points)

Hi,

Sorry, I am not sure to understand the need.

Could you use an image editor to edit the following image and to show us what you are expecting :

Thanks!

commented Jun 6, 2017 by mikezuk (120 points)
Sorry I couldn't manage to find a way to upload a image in my post. But what I need is simply to:

Resize the group box in your reply, make it only cover the lifeline of "A and B". In another words, the group box should only cover
> Message 1
> Left half of Message 3
> Left half of Message 4

I hope I explained it better this time.

Thanks :)
...