interaction frame

+4 votes
asked Dec 1, 2015 in To be sorted by anonymous

Is there a way to draw a frame around a sequence diagram, like it is shown in the current uml specification on page 566 (section 17.2.4.1)

The notation for an Interaction in a Sequence Diagram is a solid-outline rectangle. A pentagon in the upper left corner of
the rectangle contains ‘sd’ followed by the Interaction name and parameters. The notation within this rectangular frame
comes in several forms: Sequence Diagrams, Communication Diagrams, Interaction Overview Diagrams, and Timing
Diagrams.

A simple group does not achieve the required result, because the instances are not included in the rectangle.

commented Mar 8, 2018 by ecopete (100 points)
This would be fantastic, especially that we could get interaction overview diagrams in PlantUML.

2 Answers

0 votes
answered Nov 23, 2018 by s_lyhne (140 points)
Yes, please implement this!
+1 vote
answered Nov 23, 2018 by plantuml (294,960 points)

Thanks for the suggestion!

With last beta http://beta.plantuml.net/plantuml.jar you can now have:

@startuml

mainframe This is a frame

participant alpha
participant beta

alpha -> beta: a1
beta <- alpha: a2

beta -> alpha: b1
alpha <- beta: b2
@enduml

It this what you are looking for ?

commented Feb 11, 2019 by anonymous
Yes, this works. Thank you!
commented Sep 28, 2022 by anonymous
can the space between the main frame and the starting place of the partcicpants be increased ? The current space is very minimal to differentiate.
asked Sep 28, 2022 in Wanted features by The-Lu (63,920 points) [Style] Allow [all] style for mainframe
...