每一个用例有一个状态图,显示一个对象从创建到消亡的整个生命周期
绘图要点:
要求:对象(描述哪一个的状态)
状态名字不要动词
有起点,终点
转移:事件名 [条件]/动作名(如果前面出现“/”,说明是系统的动作,不加是使用者进行的操作)
有明确的模式
例子:
Develop a UML state model for the control process of the use case“背单词”. The model visualizes the relationship between external events and business scenes.