State diagrams mainly depict states and transitions. Rather, they illustrate specific kinds of behavior-in particular, shifts from one state to another. However, despite having clear start and end points, state diagrams are not necessarily the best tool for capturing an overall progression of events. In order to understand the different states of an object, you might want to visualize all of the possible states and show how an object gets to each state, and you can do so with a UML state diagram.Įach state diagram typically begins with a dark circle that indicates the initial state and ends with a bordered circle that denotes the final state. States refer to the different combinations of information that an object can hold, not how the object behaves. A state machine is any device that stores the status of an object at a given time and can change status or cause other actions based on the input it receives.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |