Adding items to a state diagram
You can add an existing item to a State Diagram in the following ways:
• Dragging items from a Modeler pane to the State Diagram.
• Through a State Diagram tab.
• Through the diagram background.
• Through populate commands available on the diagram background and symbols.
Note that you can only add items that are child items of the State Machine that owns the State Diagram.
For information about adding Variability items to a State Diagram, see the following topics:
Dragging an item to a State Diagram:
1. Open the State Diagram.
2. In an appropriate pane, locate the item you want to add to the State Diagram.
3. Drag the item from the appropriate pane to the State Diagram, within the frame or a Sequential State as appropriate.
|
Dropping an item within the frame (which represents the State Machine) or within a Sequential State will scope the dropped item to that State Machine or Sequential State, if it is not already scoped to that item.
|
Through a State Diagram tab:
1. Open the State Diagram.
2. On the diagram's tab, click the appropriate button, and then on the diagram right-click within the frame (for a State Machine owned item) or a Sequential State (for a Sequential State owned item).
3. From the popup menu, click the command for the item you want to add to the diagram.
Through the populate commands:
Right-click the diagram symbol you want to populate, select Populate, and then click the appropriate command.