View or hide state machine information in PAgraph. Information includes grid, element contents, comments, and transition conditions.

Access these options from the toolbar or from the View menu and the corresponding submenu commands.

Grid

By default, the grid (Grid icon represented by a grid layout.) is hidden. The grid has fixed spacing that you cannot change.

Figure 58. Grid Display

State machine diagram with a Start node and State 1 on a grid background.

Element Contents

Element content (Blue rectangle with a black arrow pointing right representing element content in a state machine diagram.) includes the three code areas that can be filled for the following parts of the state machine:

  • Input
  • Cyclic
  • Output

Filled element contents are displayed at the start of PAgraph as colored rectangles at the right edge of states. If an element area is empty, the element is filled with the background color of the state.

Element contents are displayed as a preset.

Figure 59. Filled Element Contents (Input Part)
State 1 with a filled element content indicator in the top left corner.
Figure 60. Filled Element Contents (Cyclic Part)
State 1 with a filled element content indicator in the middle left side.
Figure 61. Filled Element Contents (Starting Part)
State 1 with a filled element content indicator in the bottom left corner.

Comments

You can place comments (Comments icon of a stack of documents with binoculars overlay.) in any number at any position. When creating a comment, only the current date displays in the comment field.

Enter your comment by opening the context menu and selecting Change. Alternatively, press the F2 key above the comment field.

If the comments are hidden, comments are automatically displayed again when a new comment is created. Comments are displayed by default.

When creating comments, comments are not assigned to an element.

Figure 62. Unassigned Comment

A comment box showing the date 7/5/2017 and text "Comment on state 1".

You can assign the comment to an element like a speech bubble.

  1. Click the yellow rectangle in the upper-right corner of the Comment element. Refer to the following figure to see the Comment element.
  2. Drag the comment to the corresponding element.
Figure 63. Assigning a Comment to a State

Diagram showing a comment assigned to a state element.

Transition Conditions

Transition conditions (Transition conditions icon of an fx symbol.) cause your condition to appear instead of the transition name. Transition names are displayed by default.

Figure 64. Transition Condition
Diagram showing a transition condition with a downward arrow and the condition x==1.
Figure 65. Transition Name
Diagram showing a dashed downward arrow labeled Transition 1.