Dependency View (Groups)

Overview

Objects displayed in a dependency graph can be assigned to groups. These groups can be real modules of the machine or any other grouping.

The following considerations have to be taken into account:

  • Objects to be assigned to a group must be in the same application as the Dependency View object.

  • Assigning a function block or a program to a group also assigns the methods, actions, properties, and transitions of that object to that group. These elements are displayed in the Groups tree as subnodes of the function block/program.

Toolbar

Element

Description

Create new

Click this button to create a new and empty group.

You can start renaming of a group by selecting a group in the tree and click the Spacebar.

Delete

Click this button to delete the selected group.

Open Wizard

Click this button to open the Groups Wizard.

Assigning Objects to Groups

Assigning objects to groups by:

Element

Description

Drag-and-drop

The nodes and subnodes of an Application can be assigned to a group by drag-and-drop. If a folder is dropped, its subnodes are assigned to the group. (You are asked to confirm).

Contextual menu in the Application tree

The nodes and subnodes of an Application can be assigned to a group by the contextual menu command Add to group.

Contextual menu in the dependency graph of the Dependency View

One or several elements selected in the dependency graph can be assigned to an existing or new group by contextual menu command Add to dependency graph

Groups Wizard

Use the Groups Wizard to create groups and assign objects to groups basing on a name search. The Groups Wizard provides options to filter the objects that could be assigned to new or existing groups.

Element

Description

Object name filter

Enter plain text or a regular expression (Regex) to filter your application for objects to be added to a group. This filter is not applied to folders.

Regex examples:

  • [0-9]: This filters out objects that do not have any digit(s) in their name.

  • [ _ ]: This filters out objects that do not have any underscore in their name.

Object type filter

Use these check boxes to reduce the number of displayed objects.

Name search can be reduced to object types:

  • Function Block

  • Program

Display only unassigned objects

Activate the check box to display only objects not assigned to a group. Deactivate the check box to also display the already assigned objects.

The check box is activated by default.

Group name

Basing on the object name the suggested module name is generated. This suggested name can be modified by a regular expression (Regex) or a meaningful name. In the list, the already existing group names are listed. If nothing is entered, the original project name is used.

Display folder structure

Activate the check box to display the objects in folder structure.

The check box is activated by default.

Name column

Use the check boxes in front of the names to select the objects to add to the group.

If you activate the check box of an object with subnodes, the check boxes of the subnodes are activated too. The group name of the subnodes is changed to the group name of the main node.

Group Name column

To edit a suggested group name, select the name and press the Spacebar.

Create

Click this button to create a group from the selected objects.