留言标签

描述
消息标签是在生命线之间表示消息的另一种方法,对于“散乱”随消息散布的时序图很有用。要指示生命线之间的消息,请将连接器从源生命线绘制到消息标签中。接下来,从另一个消息标签到目标生命线绘制一个连接器。请注意,标签名称必须匹配以反映该消息出现在两个“消息标签”之间。
此图说明了如何使用消息标签在生命线之间构造消息。

工具箱图标

学到更多
OMG UML规范:
OMG UML规范( UML上层结构规范,v2.1.1,第518页)指出:
标签仅是符号的简写形式,用于防止图混乱,因为许多消息在相距甚远的生命线之间交错穿过图。标签表示可以通过引入相同名称的标签来破坏消息。