在 UML Activity 图中表示 "while t < time limit"
Represent "while t < time limit" in a UML Activity diagram
我正在绘制代表以下内容的图表:
- 用户单击用户界面上的按钮来编辑 post
- post状态设置为"locked"
- 用户有时间限制编辑post
- 如果超过时间限制则用户无法保存his/her编辑
- 否则如果没有超过时间限制则用户可以保存his/her编辑
- post状态设置为"unlocked"
此示例的目的是确定如何在 UML Activity 图中表示 "while time limit is not exceeded"
我试图创建一个 UML Activity 图,但它似乎不正确。
能否请您建议如何正确绘制它?谢谢。
正如@xmojmr 评论的那样,您将使用
15.7.19 InterruptibleActivityRegion [Class]
15.7.19.1 Description
An InterruptibleActivityRegion is an ActivityGroup that supports the termination of tokens flowing in the portions of an activity within it.
TimerOverrun
事件可以发送异常,而 Action1
(或虚线区域内的任何其他事件)处于活动状态,由 TimerEvent
处理。
我正在绘制代表以下内容的图表:
- 用户单击用户界面上的按钮来编辑 post
- post状态设置为"locked"
- 用户有时间限制编辑post
- 如果超过时间限制则用户无法保存his/her编辑
- 否则如果没有超过时间限制则用户可以保存his/her编辑
- post状态设置为"unlocked"
此示例的目的是确定如何在 UML Activity 图中表示 "while time limit is not exceeded"
我试图创建一个 UML Activity 图,但它似乎不正确。
能否请您建议如何正确绘制它?谢谢。
正如@xmojmr 评论的那样,您将使用
15.7.19 InterruptibleActivityRegion [Class]
15.7.19.1 Description
An InterruptibleActivityRegion is an ActivityGroup that supports the termination of tokens flowing in the portions of an activity within it.
TimerOverrun
事件可以发送异常,而 Action1
(或虚线区域内的任何其他事件)处于活动状态,由 TimerEvent
处理。