Take the canonical example on mermaid for groups:
sequenceDiagram
box Purple Alice & John
participant A
participant J
end
box Another Group
participant B
participant C
end
A->>J: Hello John, how are you?
J->>A: Great!
A->>B: Hello Bob, how is Charley?
B->>C: Hello Charley, how are you?
Add C->>A: Respond at the end and the boxes break and overlap like in the following screenshot:
The expectation is that it would render like in mermaid:

Take the canonical example on mermaid for groups:
Add
C->>A: Respondat the end and the boxes break and overlap like in the following screenshot:The expectation is that it would render like in mermaid: