Process Flow Diagram Logic

Subdiagrams

Some process flow diagrams may be quite complex. To help control the process flow, you can create subdiagrams and collapse a set of nodes and connections into a single node icon. Subdiagrams can be opened to display the complete structure of the process flow diagram.

Note:   You cannot uncondense the nodes in a subdiagram.  [cautionend]

There are two major approaches to creating subdiagrams:


Subdiagram Example 1

Suppose you want a process flow diagram to contain a subdiagram for the following nodes: Sampling, Data Partition, Filter Outliers, and Transform Variables.

To create a subdiagram for these nodes, follow these steps:

  1. Add and define any predecessor nodes from the Tools Palette that you do not want as part of the subdiagram to the Diagram Workspace.

  2. Add a Subdiagram node to the process flow diagram.

    [Input Data Source node and Subdiagram node, unconnected.]

  3. Connect the predecessor node to the Subdiagram node and then open the Subdiagram node by double-clicking the node icon. Alternatively, you can right-click the node icon and select Open.

    Within the Subdiagram node are Enter and Exit nodes, which by default are connected.

    [Subdiagram Enter node connected to Subdiagram Exit node.]

  4. Cut the connection between the Enter and Exit nodes by right-clicking the connection arrow and selecting the Delete pop-up menu item.

    Note:   The Enter and Exit nodes are connected to allow for independent subdiagrams.  [cautionend]

  5. Move the Enter and Exit nodes to the appropriate locations in the process flow diagram, and then add and connect the desired nodes.

    [Expanded subdiagram: Enter node connected to Sampling node connected to Data Partition node connected to Filter Outliers node connected to Transform Variables node connected to Subdiagram Exit node.]

  6. Condense the subdiagram, by using the View pull-down menu (or the pop-up menu) to select Up One Level.

    [Input Data Source node connected to Condensed Subdiagram node, with a graphic keyhole which indicates that the subdiagram contains a condensed node flow.]

    Note:   When a subdiagram has been defined, a keyhole appears beside the Subdiagram node. To open the subdiagram, you can select the keyhole or you can double-click the node icon.  [cautionend]

  7. Position the Subdiagram node in the appropriate location within the process flow diagram, and then connect the Subdiagram node to the appropriate nodes.

    [Display of a process flow diagram using Subdiagram: Input Data Source connected to Subdiagram node, double-branch connected to Neural Networking and Regression nodes, both converging connections on an Assessment node.]

    This example process flow diagram has an Input Data Source node that is connected to the Subdiagram node, which in turn connects to a Neural Network node and a Regression node. The resulting models are compared and assessed in an Assessment node.

    Note:   You can clone a node if you need to use it often in the project. See Cloning a Node for an example.  [cautionend]


Subdiagram Example 2

In this example, you are developing a process flow diagram:

[Example of process flow diagram without subdiagram: Input data Source connected to Sampling connected to Data Partition connected to Filter Outliers connected to Transform variables, double connected to Neural and Regression nodes, both connected to Assessment node.]

You realize that you could create a subdiagram to contain the following nodes: Sampling, Data Partition, Filter Outliers, and Transform Variables. By condensing these nodes into a subdiagram, you can more easily view other portions of the complete process flow diagram. To create a subdiagram for these nodes, follow these steps:

  1. Select the first node to be included in the subdiagram. A box appears around the selected node (for this example, the Sampling node).

    [Display of process flow diagram with the Sampling node selected.]

  2. Place the mouse pointer on the arrow that connects the node that you selected in step 1 and the second node to be included in the subdiagram, then CTRL-click or SHIFT-click on the arrow. The selected arrow changes from an arrow to a line segment.

  3. CTRL-click or SHIFT-click on the second node that you want to include in the subdiagram.

  4. Repeat steps 2 and 3 until all nodes and arrows that you want to place in the subdiagram are selected. Note that for large process flow diagrams that contain many nodes only the nodes and arrows that are selected are used to create the subdiagram.

    Note:   As an alternative to steps 1 through 4, you can select all the multiple nodes and arrows at one time. That is, place the mouse pointer in the process flow diagram near the nodes to be included in the subdiagram (where "near" is on one side of the set of node icons and either above or below the node icons), click and hold the left mouse button, and stretch the dotted box around the appropriate node icons.

    [Process Flow Diagram showing Sampling, Data Partition, Filter Outliers, and Transform Variables nodes and connecting arrows batch selected]

      [cautionend]
  5. Use the main menu to select Edit [arrow] Create subdiagram A dialog box appears that asks you to verify that the currently selected nodes and arrows are to be condensed into a subdiagram.

    [Dialog window asking Condense currently selected nodes into a Subdiagram?]

    If you click Cancel, then the subdiagram is not created. If you click OK, then the subdiagram is created, and a subdiagram node icon replaces the selected nodes and arrows.

    [display showing simplified process flow diagram with Subdiagram node in place of the connected Sampling to Data Partition to Filter Outliers to Transform Variables nodes.]

  6. To open the Subdiagram node, double-click on the node icon or select the keyhole.

    [Display showing the connected Sampling, Data Partition, Filter Outliers, and Transform Variables nodes that are condensed into a single Subdiagram node.]

  7. Add endpoints (a pair of nodes that consist of an Enter node and an Exit node) to the subdiagram to indicate where information enters the subdiagram and where it exits the subdiagram. To add endpoints, right-click on an open area of the Diagram Workspace and select Add endpoints. By default, the Enter node is connected to the Exit node. Cut the connection between the Enter and Exit nodes, and then position the Enter node to the left of the subdiagram (so that it precedes the subdiagram) and the Exit node to the right of the subdiagram (so that it follows the subdiagram). Connect the Enter node to the subdiagram (the connection arrow should point to the subdiagram), and connect the subdiagram to the Exit node (the connection arrow should point to the Exit node).

    [The Sampling, Data Partition, Filter Outliers, Transform Variables nodes interconnected and preceded by a Subdiagram Enter node and succeeded by a Subdiagram Exit node.]

  8. Condense the subdiagram by using the View pull-down menu (or the pop-up menu) to select Up One Level.

  9. Connect the Subdiagram node to the appropriate nodes. In this example, an Input Data Source node passes information to the Subdiagram node, which passes information to the Regression and Neural Network nodes, which in turn pass information to the Assessment node.

    [display of process flow diagram using subdiagram node. Formerly large flow is now replaced with Input Data Source connected to Subdiagram connected to both Neural and Regression nodes, both connected to Assessment node. Much cleaner to look at.]

You cannot uncondense the nodes in a subdiagram. There is no restriction on how many Subdiagram nodes you can nest in the process flow diagram.

space
Previous Page | Next Page | Top of Page