banner



How To Draw State Machine Diagram

You tin include many different shapes in a state diagram, particularly if you choose to combine information technology with some other diagram. This list summarizes the most mutual shapes you may run across.

Composite state

A country that has substates nested into it. See the university state diagram example below. "Enrollment" is the composite state in this example considering it encompasses various substates in the enrollment procedure.

Choice pseudostate

A diamond symbol that indicates a dynamic status with branched potential results.

State Diagram Symbols - Choice Pseudostate

Effect

An instance that triggers a transition, labeled above the applicable transition arrow. In this case, "classes finish" is the issue that triggers the finish of the "Being taught" state and the outset of the "Final exams" state.

State Diagram Symbols - Event Shape

Exit point

The point at which an object escapes the composite state or land motorcar, denoted past a circle with an X through it. The go out point is typically used if the procedure is non completed but has to be escaped for some error or other outcome.

State Diagram Symbols - Exit Point

First country

A marker for the first state in the procedure, shown by a dark circle with a transition arrow.

State Diagram Symbols - First State

Guard

A Boolean condition that allows or stops a transition, written higher up the transition arrow.

Land

A rectangle with rounded corners that indicates the current nature of an object.

State Diagram Symbols - State Shape

Substate

A state contained within a composite land'southward region. In the university country machine diagram institute below, "Open for enrollment" is a substate in the larger "Enrollment" composite land.

Terminator

A circumvolve with a dot in information technology that indicates that a process is terminated.

State Diagram Symbols - Terminator Shape

Transition

An arrow running from one state to another that indicates a changing state.

State Diagram Symbols - Transition Shape

Transitional behavior

A behavior that results when a state transitions, written to a higher place the transition arrow.

Trigger

A type of message that actively moves an object from state to state, written above the transition pointer. In this instance, "Issue with reservation" is the trigger that would send the person to the drome travel agency instead of the next step in the process.

State Diagram Symbols - Trigger Shape

Source: https://www.lucidchart.com/pages/uml-state-machine-diagram

Posted by: spurrining1960.blogspot.com

0 Response to "How To Draw State Machine Diagram"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel