create_transition_state(trigger, state, reset, priority, points=None, label_position=None, label_size=None, slash_position=None, polyline=True)#

Create an intermediate transition structure that targets a state.

The graphical properties are expressed 1/100th of mm.

They are considered if and only if the owning state machine has a graphical representation.

Parameters:
triggerEX

Extended expression tree defining the trigger of the transition.

statesuite.State

Target state of the transition.

resetbool

Whether the transition resets the targtet state.

priorityint

Priority of the transition.

pointsList[Tuple[float, float]], default: None

Points of the transition.

label_positionTuple[float, float], default: None

Position of the label.

label_sizeTuple[float, float], default: None

Size of the label.

slash_positionTuple[float, float], default: None

Position of the separator between the trigger and the action of the transition.

polylinebool, default: True

Whether the representation is a list of segments. If False, the representation is a Bezier curve.

Returns:
TR