Advertisement

UML 状态图

阅读量:

一、什么是状态图

状态图(State Diagram)用于展示一个特定对象在其不同状态下如何通过事件触发状态转移。该图表体现了有限状态机的运行模式。通过该图表能够清晰地描绘出系统的动态特性涉及系统各实体基于特定规则的行为模式。

事件排序的行为,这些对象可以是类、接口、构件和节点。

二、状态图的图符

三、状态图的基本要素

State Machines: They represent the processes through which an object or interaction responds to events throughout its lifecycle. The behaviors exhibited by individual classes or groups of classes can be modeled using state machines. A state machine encompasses a variety of elements, including states, transitions, events

全部评论 (0)

还没有任何评论哟~