I'd love to be able to do this:

More specifically, the "boxes" labeled "Application" and "Kafka".
Source: https://chrzaszcz.dev/2019/12/kafka-transactions/
I propose using the same syntax as loops:
participant Alice
participant Bob
box Alice_and_Bob
Alice->>Bob: Hello John, how are you?
Bob->>Alice: Fight against hypochondria
end
Thats a good idea! We should do this.
Agreed. I can probably get this implemented.
soonâ„¢
Agreed. I can probably get this implemented.
soonâ„¢
You're awesome, @cmmoran ! I volunteer to test.
If the participants belong to a single box, the box could be set when creating the participants.
For example:
sequenceDiagram
%% Alice and Bob are grouped in "Alice_and_Bob" box
box Alice_and_Bob
participant Alice
participant Bob
end
%% Truddy does not belong to a group
participant Truddy
Most helpful comment
Agreed. I can probably get this implemented.
soonâ„¢