What is the difference between state diagram and flowchart?
<answer> A flowchart illustrates processes that are executed in the system that change the state of objects while a state diagram shows the actual changes in state, not the processes or commands that created those changes. <context> A state diagram shows the behavior of classes in response to external stimuli. Specifically a state diagram describes the behavior of a single object in response to a series of events in a system. Sometimes it's also known as a Harel state chart or a state machine diagram. This UML diagram models the dynamic flow of control from state to state of a particular object within a system. What is the Difference between a State Diagram and a Flowchart? A flowchart illustrates processes that are executed in the system that change the state of objects. A state diagram shows the actual changes in state, not the processes or commands that created those changes. How to Draw a State Diagram