Generating a Function Chain

Under a function reference, you can generate a function chain. When an instance, an output port or an interface is selected, the next leaf instance is placed in a diagram view.


Before you begin: For the purpose of this scenario, create five function instances under a root function reference, and connect them as follows
  • F0 connected to F1
  • F1 connected to F2 and F3
  • F2 connected to F1 and F4
  • F3 connected to F4


  1. From the Diagram section of the action bar, click Create Execution Function Chain .
  2. In the tree, select the function instance F0.

    You can also select the function instance in the main view.

  3. In the Sheet dialog box, enter a name for the sheet.
  4. In the View dialog box, enter a name for the diagram view.
    A diagram view is created and the function instance F0 is placed.

  5. In the diagram view, select the function instance F0.
    The function instance F1 is placed.

  6. Select the function instance F1.
  7. In the Leaves of Function dialog box, select the ports to be connected.
    F2 and F3 function instances are placed since they are both connected to F1.

  8. Select the function instance F2.
    The F4 function instance is placed.

  9. In the dialog box, click Create New Occurrence and select F1.
    A new occurrence of the function instance F1 is created.

  10. Select the new occurrence of F1, click Select Existing Occurrence and then, select F2.
    A connection between the new occurrence of F1 and F2 is created.

  11. Click Create New Occurrence and then, select F3.
    A new occurrence of F3 is created and connected to F1.

  12. Select the new occurrence of F3, click Select Existing Occurrence and then, select F4.
    The connection between the new occurrence of F3 and F4 is created.

  13. Double-click the main view.
  14. Select Create Execution Function Chain and place the pointer over the diagram view.
    All the instances and connections placed in the diagram view are highlighted. If some instances belong to sublevels, the parent elements expand to show child components.