Using the Designer > Using More Designer Features > Adding a Node to a Diagram

This section explains how to add a node to the network diagram, available as project file network1.idpr.

If you do not still have the Network example open, open it by choosing File>Open and browsing to the network1.idpr file.

To add a node:

  1. Switch to the Diagram Editing Mode by clicking the middle icon in the vertical toolbar.
  2. Click the node icon in the horizontal toolbar images/diada_iconNode.png .
  3. Click the link between the Paris and Singapore nodes.
  4. If you click on top of an existing link, the Designer splits the link and inserts the new node.
  5. Move the new node away to show the links.
  6. The link data has been modified appropriately by the Designer.
  7. Modify the data of the new node as shown in the Data Properties panel to set the correct name (Tokyo).
  8. Enable the link layout by choosing Edit>Options in Style Editing mode and checking the corresponding option.

images/diada_addnode.png

Figure 3.18 Inserting a Node on an Existing Link

You can perform a layout operation to improve the appearance.

For example, Figure 3.19 shows the network diagram in Figure 3.18 after a Layout All Nodes operation, images/diada_iconlayoutall.png .

Choose File>Save As to save the revised version and enter the name network2.

images/diada_layoutall.png

Figure 3.19 Laying Out All Nodes After Adding a New One