如何表示“子序列"在 uml 序列图中? [英] how to represent "sub-sequences" in uml sequence diagrams?
问题描述
在活动图中,您可以有一个包含子活动图的顶级活动图.当子活动包含许多您不想在顶级活动图中显示的详细信息时,这非常有用.
序列图是否有类似的概念?
基本上,我有一个序列图,我想通过将这些细节移动到另一个序列图中来隐藏图中的一些细节.
这可以通过在序列图中使用 <<ref>>
片段来实现,该片段引用一个子序列示意图.
例如参见这张图片:http://www.ibm.com/developerworks/rational/library/content/RationalEdge/feb04/3101_figure11.jpg 其中 Balance Lookup 和 Debit Account 是对其他序列 diageams 的引用,这些 diageams 可能又包含大量生命线和调用.>
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.
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.
这篇关于如何表示“子序列"在 uml 序列图中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!