Exit activity diagram at any point

自闭症网瘾萝莉.ら 提交于 2019-12-11 06:46:14

问题


We're currently designing an application with an exit button, meaning the user can exit the application at any time. Now, we're not sure how to write this down.

Right now, we're thinking about doing it like shown in the picture below, because this is the only way we know how to do this. However, we feel like there must be an easier way. Also: if we do this for our whole application (which is quite big), we'd get a whole ton of decision and end nodes...


回答1:


Your model looks ok. Instead of having multiple Final Flows you could lead all flows to a single one (just as an option).

Without knowing the exact requirements, here is another way:

The exit button is treated as exception. This could as well be written as



来源:https://stackoverflow.com/questions/50473858/exit-activity-diagram-at-any-point

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!