Use groups to show or hide items in a model


You can group items and show or hide the groups as required. This allows you to show stages or different views on the same model.

What do you want to do?


 


Understand model groups

You can use model groups to show, hide, or select multiple items in a model.

NVivo provides five ways of grouping model items:

ic_top_of_page.gifTop of Page

Use the Model Groups pane

Model groups are displayed in a pane on the right of the model.  

By default the Model Groups pane is displayed when you create or open a model—if the pane has been hidden, you will need to show the pane before you can work with Model Groups.

cn_model_groups_pane_only.gif

1 Tabs  There is a separate tab for each type of model group.

2 Include check box  This box indicates the groups that selected items belong to. For custom groups only, you can select or clear this check box when you want to include or exclude selected items as members of the group.

3 Visible check box  Select or clear this check box to show or hide items that have the selected attribute value, relationship type, color, or belong to the selected custom group.

You can adjust the size of the Model Groups pane—point to the left edge, and when the pointer changes to a ui_pointer_resizing.gif, drag to resize the pane.

ic_top_of_page.gifTop of Page

Show or hide project items by classification, attribute value, relationship type, or color

  1. If you are working with a dynamic model, make sure you are in edit mode.

  2. In the Model Groups pane, click one of the following tabs:
  1. Select the model group that you want to show or hide. The row containing the group is highlighted.
  1. On the Model tab, in the Groups group, click Group and then click Show Members.

Shortcut Select or clear the Visible icon_model_eye.gif check box for the model group that you want to show or hide.

rn_model_groups.gif

ic_top_of_page.gifTop of Page

Create a custom group

You can create custom groups in dynamic models (static models cannot be changed).

  1. Make sure you are in edit mode.

  2. In the Model Groups pane, click the Custom Groups tab.

  3. On the Model tab, in the Groups group, click Group and then click New Group.

rn_model_groups.gif

The Model Group Properties dialog box opens.

  1. In the Name box, enter a name for the group.

  2. (Optional) In the Description box, enter description of the group.

  3. Click OK.

The group is created and is listed in the Custom Groups tab on the Model Groups pane.

ic_top_of_page.gifTop of Page

Include items as members of a custom group

You can add model items to custom groups in dynamic models (custom groups in static models cannot be changed).

  1. Make sure you are in edit mode.

  2. Select the project items, shapes or connectors you want to include in the group.

  3. In the Model Groups pane, click the Custom Groups tab, and then select the custom group that you want to add the shapes to.

The row containing the group is highlighted.

  1. On the Model tab, in the Groups group, click Include As Members.

Shortcut Select the Include icon_model_tick.gif check box for the custom group you want to add the items to.

rn_model_groups.gif

NOTE

ic_top_of_page.gifTop of Page

Show or hide items in a custom group

  1. If you are working with a dynamic model, make sure you are in edit mode.

  2. In the Model Groups pane, click the Custom Groups tab, and then, select the custom group that you want to show or hide.

The row containing the group is highlighted.

  1. On the Model tab, in the Groups group, click Group and then click Show Members.

Shortcut Select or clear the Visible icon_model_eye.gif check box for the custom groups that you want to show or hide.

rn_model_groups.gif

NOTE  If a model item is a member of both a visible model group and a hidden model group, it will be visible if 'show' is the last action performed, or hidden if 'hide' is the last action performed.

ic_top_of_page.gifTop of Page

Change the properties of a custom group

You can change the properties of custom groups in dynamic models (custom groups in static models cannot be changed).

  1. Make sure you are in edit mode.

  2. In the Model Groups pane, click the Custom Groups tab, and then select the group you want. to change.

The row containing the group is highlighted.

  1. On the Model tab, in the Groups group, click Group and then click Group Properties.

rn_model_groups.gif

The Model Group Properties dialog box opens.

  1. Make any changes to the Name or Description and click OK.

ic_top_of_page.gifTop of Page

Delete a custom group

You can delete custom groups in dynamic models (custom groups in static models cannot be removed).

  1. Make sure you are in edit mode.

  2. In the Model Groups pane, click the Custom Groups tab, and then select the group you want. to delete.

The row containing the group is highlighted.

  1. On the Model tab, in the Groups group, click Group and then click Delete Group.

rn_model_groups.gif

  1. Click Yes to confirm deletion.

NOTE  Deleting a custom group does not remove the project items, shapes and connectors (that were members of the group) from the model.

ic_top_of_page.gifTop of Page

Select the members of a custom group

You can select items that are members of a group. This is useful if, for example, you want to apply a style to group items without having to select each member individually.

  1. In the Model Groups pane, click the Custom Groups tab, and then select the group you want.

The row containing the group will be highlighted.

  1. On the Model tab, in the Groups group, click Group and then click Select Members.

rn_model_groups.gif

The members of the group are selected (indicated by the sizing handles on the model shapes).

NOTE

ic_top_of_page.gifTop of Page

Show or hide the Model Groups pane

rn_model_display.gif

ic_top_of_page.gifTop of Page