how to represent “sub-sequences” in uml sequence d

2019-08-26 08:31发布

In activity diagrams, you can have a top level activity diagram that contains a sub-activity diagram. This is useful where the sub-activity contains lots of details that you don't want to show in the top level activity diagram.

Is a similar concept available for sequence diagrams?

Basically, I have a sequence diagram where I want to hide some of the details in the diagram by moving those details to another sequence diagram.

标签: uml
2条回答
Fickle 薄情
2楼-- · 2019-08-26 09:17

This can be achieved by using a <<ref>> fragment in your sequence diagram, that references a sub sequence diagram.

See for example this picture : http://www.ibm.com/developerworks/rational/library/content/RationalEdge/feb04/3101_figure11.jpg where Balance Lookup and Debit Account are references to other sequence diageams that may in turn contain plenty of lifelines and calls.

查看更多
手持菜刀,她持情操
3楼-- · 2019-08-26 09:29

Ah, it looks like the solution may be to use an Interaction Overview Diagram.

查看更多
登录 后发表回答