Concurrent Boundary
Last updated
Last updated
A Concurrent Boundary in a State Machine Diagram is used within a Superstate (Composite State) to define regions of concurrent behavior. It allows you to model parallel activities or independent sub-processes within a single state.
With Concurrent Boundaries in Modeldraw's State Machine Diagram, you can:
Model parallel or concurrent behaviors within a single Superstate
Represent independent sub-processes that occur simultaneously
Improve the organization of complex state machines
Show multiple active states within a Superstate
Illustrate independent aspects of a system's behavior
A Concurrent Boundary in Modeldraw's State Machine Diagram tool is represented by a dashed line that divides a Superstate into two or more regions. Key points to understand about Concurrent Boundaries include:
Each region separated by a Concurrent Boundary represents a parallel thread of execution.
The states in different regions can change independently of each other.
When a Superstate with Concurrent Boundaries is entered, each region becomes active simultaneously.
The Superstate is only exited when all concurrent regions have reached their final states.
Concurrent Boundaries help manage the complexity of systems with parallel behaviors.
To create a Concurrent Boundary in Modeldraw's State Machine Diagram:
First, ensure you have a Superstate in your diagram where you want to add the Concurrent Boundary.
Select the Concurrent Boundary tool from the toolbox.
Click on the Superstate where you want to add the Concurrent Boundary. The Concurrent Boundary will be automatically added, dividing the Superstate into two regions.
If you need more than two concurrent regions, simply click the Superstate again with the Concurrent Boundary tool selected to add additional boundaries.
You can now add states and transitions within each concurrent region.
Remember that Concurrent Boundaries should be used when you need to represent truly parallel behaviors within a single Superstate.