systemcomposer.activity.Flow
Description
A Flow object defines the flow between a source node and a
destination node.
Creation
Create a flow in an activity diagram using the connect function.
action1 = addNode(activity,'action1','action'); action2 = addNode(activity,'action2','action'); flow1 = connect(action1,action2);
Properties
Object Functions
addProperty | Define custom property for stereotype |
changeStereotype | Change currently applied stereotype to new stereotype in its stereotype hierarchy |
destroy | Remove model element |
getEvaluatedPropertyValue | Get evaluated value of property from element |
getFlow | Get flow from activity diagram |
getProperty | Get property value corresponding to stereotype applied to element |
getPropertyValue | Get value of architecture property |
getStereotypeProperties | Get stereotype property names on element |
getStereotypes | Get stereotypes applied on model element |
hasProperty | Find if element has property |
removeStereotype | Remove stereotype from profile |
setProperty | Set property value corresponding to stereotype applied to element |
applyStereotype | Apply stereotype to model element |
hasStereotype | Find if element has stereotype applied |
Examples
More About
Version History
Introduced in R2026a
See Also
Functions
systemcomposer.createActivity|addNode|addParameter|getNode|getNodes|getFlow|connect|getParameter|getParameters|getPin|getPins|addPin|getParentPin|applyStereotype|removeStereotype|getStereotype|destroy|setBehaviorType
Objects
systemcomposer.activity.Action|systemcomposer.activity.Activity|systemcomposer.activity.ActivityNode|systemcomposer.activity.ActivityFinal|systemcomposer.activity.ControlNode|systemcomposer.activity.FlowFinal|systemcomposer.activity.Model|systemcomposer.activity.JoinFork|systemcomposer.activity.Initial|systemcomposer.activity.MergeDecision|systemcomposer.activity.Parameter|systemcomposer.activity.Pin
Tools
Blocks
- Initial Node | Action Node | Pin | Parameter Node | Decision or Merge Node | Join or Fork Node | Flow Final Node | Activity Final Node
Topics
- Describe System Behavior Using Activity Diagrams
- Establish Traceability and Extend Model Elements
- Simulate, Visualize, and Validate Activity Diagrams
- Compose Architectures Visually
- Implement Component Behavior Using Activity Diagrams
- Implement Component Behavior Using Stateflow Charts
- Implement Component Behavior Using Simscape
