Editing Junctions

In contrast to states, you cannot assign actions to a junction. You can only move it and change the size and color.

  1. To move junctions, simply drag them to the position you want in the drawing area.

    When you move a junction, the connection lines attached to it automatically follow and reroute as necessary.

    If a junction and a state, or two junctions, overlap, the borders of both turn red. A warning (WSm15) is issued during code generation.

  2. Pull one of the objects so that they are placed side by side.

  3. To change the size of a junction, click it.
  4. Drag the handles until the symbol has the desired size.
  5. You can cut, copy and paste junctions just like other diagram elements using the clipboard.
  6. To change the color of the junction, right-click the junction and select Edit Color from the context menu.

    A selection box opens containing the possible colors.

  7. Select a color.

    The junction is shown in the selected color.

See also

Copying/Moving Diagram Items in the Same Diagram