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, forks: List[TR], priority: int, points: List[Tuple[float, float]] = None, label_position: Tuple[float, float] = None, label_size: Tuple[float, float] = None, slash_position: Tuple[float, float] = None, 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:
- trigger
EX
Extended expression tree defining the trigger of the transition.
- forks
List
[TR
] Transitions forked from this transition.
- priority
int
Priority of the transition.
- points
List
[Tuple
[float
,float
]], default:None
Points of the transition.
- label_position
Tuple
[float
,float
], default:None
Position of the label.
- label_size
Tuple
[float
,float
], default:None
Size of the label, default: None
- slash_position
Tuple
[float
,float
], default:None
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.
- trigger
- Returns:
TR