GRAPH Editor: Editing a Transition


Editing Events

To edit a transition in your DES, make sure you have Selection mode enabled. Pointer Mode jpg
Disable all DES components in the left pane.
Select the transition you wish to edit by clicking on the transition line in your DES. Now click on the Edit button in the toolbar Edit Button jpg. Alternatively, right-click on the transition in your DES and click Edit from the popup menu. This will open the Ged Transition Editor window.

Ged Transition Editor jpg

From this window you can add and remove events from the transition you are editing. To add an event to the transition, select the event in the Available Events pane and click Add. This will move the event to the Selected Events pane. To remove an event from the transition, select the event in the Selected events pane and click Remove. This will move the event to the Available Events pane. If you wish to change the start or stop state for the transition, you must first Delete the transition then Create a new transition with the proper states.

You can also click on the transition label and drag it to a new position. If unsure which label belongs to your transition, clicking on a transition arrow will cause its label to be highlighted with a dotted border.

Editing the Transition's Shape

To edit the graphical representation of the transition (i.e the transition line) first make sure you have Transition Shape Editor mode enabled. Pencil Mode jpg

Click and drag the transition line to a new space in the DES editor. Where you click the transition line, will create a vertex and will split the line into two sections. When you drag the line, you are dragging the vertex to a new spot in the DES editor. When you release the mouse, the transition will reshape around the new vertex. You can create another vertex by dragging the line again. If you are unsatisfied with your changes, you can right-click on the transition line and select Default Shape. This will reset the line back to the original shape. To rotate the self-loop around its state, click on the circle and drag to a new position. Editing a transition shape is especially useful when you have more than one transition connecting to the same two states.


« Create Transition   |   Delete Transition »