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 (120 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 (180 points)
Yes, please implement this!
0 votes
answered Nov 23, 2018 by plantuml (198,400 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 by anonymous
Yes, this works. Thank you!
...