如何使用 Enterprise Architect 15.0 在序列图中创建异步消息?

How to create asynchronous message in sequence diagram using Enterprise Architect 15.0?

如何在使用 Sparx Systems Enterprise Architect 15.0 建模时将序列图中的消息类型从同步更改为异步?

我记得过去它只是上下文菜单中的一个明显选项或 属性 或两者兼而有之。 official Sparx documentation(对于当前的 15.1 版本)建议相同:

Create a Message on a Sequence diagram

Option: Synch
Click on the drop-down arrow and select 'Synchronous' or 'Asynchronous' as appropriate.

The value 'Synchronous' disables the 'Kind' field; synchronous Messages are always Calls.

但是我在上下文菜单和属性中都看不到它了。

我设法做到这一点的唯一方法是更改​​序列图的默认消息类型,但每次都更改它以设置异步消息(并改回同步消息)似乎有点矫枉过正。

Google搜索和SO搜索都没有给我任何合理的建议。它只让我找到了上面提到的解决方法。

请注意,我在这里不是在谈论 IsReturn,它工作正常。我说的是异步消息,用实线和空心箭头表示。

答案很简单。您没有显示整个属性视图。

如果将底部向下拖动一点,您会看到用于设置 synchronous/asynchronous

的选项