systemcomposer.interaction.RootFragment
Description
A RootFragment
object is a container for operands in a sequence
diagram that specifies the behavior of the contained elements.
Every interaction has a root-level fragment that contains all of the message events and any child fragments.
A root fragment has no guard associated with it, and is not shown symbolically on the corresponding sequence diagram.
Creation
Access Fragment
objects via the
RootFragment
property of the corresponding systemcomposer.interaction.Interaction
object. Access the
Operand
property of the root fragment and then, if fragments are
within the root operand, access the Fragment
property of the root
operand and iterate over it to view details about each of the fragments.
Properties
Examples
More About
Version History
Introduced in R2024a
See Also
Tools
Functions
openViews
|sim
|addInteraction
|getInteraction
|getInteractions
|open
|addLifeline
|addFragment
|addOperand
|addMessage
|addAnnotation
|findLifeline
|findElement
|move
|move
|move
|destroy
|next
|current
|reset
Objects
systemcomposer.arch.Model
|systemcomposer.interaction.Interaction
|systemcomposer.interaction.Iterator
|systemcomposer.interaction.Lifeline
|systemcomposer.interaction.MessageEvent
|systemcomposer.interaction.FormalGate
|systemcomposer.interaction.Message
|systemcomposer.interaction.Fragment
|systemcomposer.interaction.AltFragment
|systemcomposer.interaction.OptFragment
|systemcomposer.interaction.LoopFragment
|systemcomposer.interaction.SeqFragment
|systemcomposer.interaction.StrictFragment
|systemcomposer.interaction.ParFragment
|systemcomposer.interaction.Operand
|systemcomposer.interaction.Annotation
|Simulink.SimulationInput
|Simulink.SimulationOutput
Topics
- Overview of System Composer API
- Describe System Behavior Using Sequence Diagrams
- Pivot Between Lifelines and Components in Views Gallery
- Compose Architectures Visually
- Implement Component Behavior Using Simulink
- Implement Component Behavior Using Stateflow Charts
- Implement Component Behavior Using Simscape