Chapter 5 Building Dynamic Diagrams


Working with sub-state diagrams

Opening a sub-state diagram

You can open the sub-state diagram of a decomposed state in any of the following ways:

You can move from a sub-state diagram to another diagram in any of the following ways:

Note   Setting a diagram as default diagram
You can set a diagram to be the model's default diagram by selecting the Default Diagram check box in its property sheet, or by selecting the diagram in the Default Diagram list in the model property sheet.

Adding objects to a sub-state diagram

You can add objects to a sub-state diagram in the same way as you add them to any statechart diagram. Any states that you add to a sub-state diagram will be a part of its parent decomposed state and will be listed under the decomposed state in the Browser.

Note   Find in Browser
You can locate any object or any diagram in the Browser tree view from the current diagram window. To do so, right-click the object symbol, or the diagram background and select Edit→Find in Browser.

Composite view

You can change a decomposed state symbol to give a representation of its sub-state diagram. To do so, right-click a decomposed state and select Composite View from the contextual menu. You may need to resize the symbol to see all its content.

For more information, see the "Expanding the symbol of a decomposed object" in the "Model Graphics" chapter in the General Features Guide.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.