### Automatically aligning patterns

#### Overview

The Layout Diagram command on the canvas' context menu automatically aligns all nodes on the canvas relative to the route's start point. By default, the route editor arranges the nodes in a route from left to right across the canvas, according to the order in which they are connected to each other. It moves the start point to the left edge of the canvas, then aligns the processing nodes and endpoints accordingly.

| Note
You can change the default layout direction (Right). To do so, on the menu bar select Fuse IDE > Preferences > Fuse Plugins for Eclipse > Editor, and then select Down from the Choose the layout direction for the diagram editor's drop-down list

You can continue adding more patterns to your route after you execute the Layout Diagram command.

#### Procedure

To direct the developer tools to automatically align all nodes on the canvas:

1. Right-click the canvas to open the context menu.

2. Select Layout Diagram.