ansys.scade.apitools.create.data_def.create_transition_fork#
- ansys.scade.apitools.create.data_def.create_transition_fork(trigger: ansys.scade.apitools.create.expression.EX | None, forks: List[TR], priority: int, points: List[Tuple[float, float]] | None = None, label_position: Tuple[float, float] = (0, 0), label_size: Tuple[float, float] = (0, 0), slash_position: Tuple[float, float] = (0, 0), polyline: bool = True) TR #
Create an intermediate transition structure with forked transitions.
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 | None
Extended expression tree defining the trigger of the transition.
- forksList[TR]
Transitions forked from this transition.
- priorityint
Priority of the transition.
- pointsList[Tuple[float, float]] | None, default: None
Points of the transition.
- label_positionTuple[float, float], default: (0, 0)
Position of the label.
- label_sizeTuple[float, float], default: (0, 0)
Size of the label, default: None
- slash_positionTuple[float, float], default: (0, 0)
Position of the separator between the trigger and the action of the transition.
- polylinebool, default: True
Indicates whether the representation is a list of segments. If
False
, the representation is a Bezier curve.
Returns#
TR