systemcomposer.interaction.SeqFragment
Description
A SeqFragment
object is a container for operands in a sequence
diagram that specifies the behavior of contained elements.
A Seq Fragment represents that the messages in its operand are weakly sequenced. Weak sequencing is also the default interpretation of messages on an interaction, and so this fragment is often not explicitly required.
Weak sequencing means that the order of message events on a lifeline must be followed, but there is no ordering constraint between message events on different lifelines, except that for a given message, the send event occurs before the receive event.
A weak sequencing fragment is drawn as a box in the sequence diagram, with the label
Seq
in the box header. The operand is then drawn within this box as a
separate section.
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 there are fragments 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
|getInteraction
|getInteractions
|open
|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.RootFragment
|systemcomposer.interaction.AltFragment
|systemcomposer.interaction.OptFragment
|systemcomposer.interaction.LoopFragment
|systemcomposer.interaction.StrictFragment
|systemcomposer.interaction.ParFragment
|systemcomposer.interaction.Operand
|systemcomposer.interaction.Annotation
|Simulink.SimulationInput
|Simulink.SimulationOutput
Topics
- Describe System Behavior Using Sequence Diagrams
- Pivot Between Lifelines and Components in Views Gallery
- Compose Architectures Visually
- Define Port Interfaces Between Components
- Implement Component Behavior Using Simulink
- Implement Component Behavior Using Stateflow Charts
- Implement Component Behavior Using Simscape