UML 时序图:Lost Messages 可以表示调用另一个图吗?
UML Sequence Diagram: Can Lost Messages represent calling another diagram?
我正在为我的项目设计一些序列图,并决定划分登录和注册用例,创建两个不同的图(认为是分离关注点和简化的明智选择)。
现在,当注册过程完成后,我想告诉图表遵循登录图表中的一些路径。那是丢失消息的目的吗?就像在图表外调用一个事件?请说明。
这是一个Gate
。 UML 2.5 规范:
17.4.4.3 Gate
Gates are just points on the frame, the ends of the messages. They may have an explicit name (see Figure 17.4).
17.12.9 Gate [Class]
17.12.9.1 Description
A Gate is a MessageEnd which serves as a connection point for relating a Message which has a MessageEnd (sendEvent / receiveEvent) outside an InteractionFragment with another Message which has a MessageEnd (receiveEvent / sendEvent) inside that InteractionFragment.
我正在为我的项目设计一些序列图,并决定划分登录和注册用例,创建两个不同的图(认为是分离关注点和简化的明智选择)。
现在,当注册过程完成后,我想告诉图表遵循登录图表中的一些路径。那是丢失消息的目的吗?就像在图表外调用一个事件?请说明。
这是一个Gate
。 UML 2.5 规范:
17.4.4.3 Gate
Gates are just points on the frame, the ends of the messages. They may have an explicit name (see Figure 17.4).
17.12.9 Gate [Class] 17.12.9.1 Description
A Gate is a MessageEnd which serves as a connection point for relating a Message which has a MessageEnd (sendEvent / receiveEvent) outside an InteractionFragment with another Message which has a MessageEnd (receiveEvent / sendEvent) inside that InteractionFragment.