Astah User's Guide

Statemachine Diagram




Create

  • Go to [Diagram] - [Statemachine Diagram]
  • Create from the Structure Tree


Hide Diagram Frame

Select the Statemachine Diagram in the Structure Tree, then check off the [Frame Visibility] in the Propety view.
frame

TIPS: Hide diagram frame by default
You can hide diagram frame by default in the System Properties.




Show all model elements

To show all the related model elements on the diagram, click [Show All Hidden Relationship] on the pop-up menu that opens when you right-click on a diagram.
visibility



Statemachine Diagram Tool Palatte

This is the tool palatte of Statemachine Diagram, for all the common tools, check out here.

Statemachine Diagram Toolbar

ButtonItem
Initial StateInitial Pseudo State
StateState
Submachine StateSubmachine State
Final StateFinal State
TransitionTransition
Entry PointEntry Point
Exit PointExit Point
ButtonItem
shallowH.pngShallow History Pseudo State
MergeDeep History Pseudo State
JunctionPointJunction Pseudo State
JoinChoice Pseudo State
ForkFork Pseudo State
JoinJoin Pseudo State
StubStateStubState In Submachine State


Initial Pseudo State

Create

Select [Initial Pseudo State] from the Tool palatte and click on a diagram.
Initial State

TIPS: Create multiple Initial Pseudo States on a diagram.
You can create multiple Initial Pseudo States by changing the setting in the System Properties.
frame


State

There are two ways to create States.

  1. Double click on the Statemachine Diagram.
  2. Choose [State] from the Tool palatte and click on Diagram.


Show State in theStructure Tree

By default, State won't appear on the Structure Tree. So in order to show them, you need to change the setting in the System properties.

  1. Go to [Tools] - [System Properties] - [Project View].
    frame
  2. Check [Show States and Submachine States in the Structure Tree], then click [Apply] - [OK].
  3. Now States appear on the Structure Tree.
    frame

Add Region

region

To add an region, choose [Add Region] from State's pop-up menu and choose vertical or horizontal.
region