7.2. Adding patterns to a route
Routes consist of a sequence of connected patterns, referred to as nodes once they are placed on the canvas. To add a pattern to a route you can either:
Both methods provide access to all of the available patterns. Dragging patterns from the palette and dropping them onto the canvas is an easy and convenient way to add multiple patterns to the canvas quickly. Using a node's context menu, you can add and automatically connect a pattern to the node.
7.2.1. Drag and drop a pattern
Overview
The Palette lists all of the available patterns, grouped by function. For example, the Loop pattern is part of the Control Flow group.
You can select any pattern from the Palette and drag it to the canvas, which represents a single route.
Procedure
To drag a pattern onto a route:
- In the Palette, locate the desired pattern.
- Select the pattern, drag it to the canvas, and then release the mouse button.NoteYou need not place the pattern in its intended location. You can easily move any node on the canvas by dragging it to a new location.
The new pattern appears on the canvas and becomes the selected node. The Properties editor displays a list of the node's properties for you to edit and configure.
Related topics
Section 7.5, “Rearranging patterns on the canvas” |
Section 7.4, “Configuring a pattern” |
Section 7.6, “Removing patterns from a route” |
7.2.2. Using the context menu
Overview
Nodes on the canvas have a context menu that includes an
option for adding new patterns to a route.
Procedure
To add and connect a pattern to a node in a route:
- In the canvas, select the node to which you want to connect the new pattern.
- Right-click it to open the context menu.
- Selectto display the list of patterns that can be connected to the selected node. The patterns are grouped according to function.
- Select the pattern to add to the route.
The new pattern is added to the route and automatically linked to the selected node. The new pattern becomes the currently selected node, and the Properties editor displays a list of the node's properties for you to edit and configure.
Related topics
Section 7.5, “Rearranging patterns on the canvas” |
Section 7.4, “Configuring a pattern” |
Section 7.6, “Removing patterns from a route” |