Grouping is a good practice toward improving readability by combining dataflows' components into one logical component container or group.
Grouping Components does not affect the Dataflow run in any way. It is just a UI concept.
Figure 1 shows how to reach the summary panel of the groups in the current Dataflow. Make sure that the Show Groups checkbox is selected in the Browse panel as described in Figure 2. The Action panel is used to manage, view and create new groups. Which are represented as folders that contain all the components that are part of it. In particular you can:
- Add element to a group;
- Create a new group;
- Expanding/shrinking a group from the working panel;
- Edit or Delete a group.
The Dataflow layout may get reshaped once a group is created.
Any Grouping is preserved when using the Import / Export functionality.
To add a new element to an existing group just drag and drop it into the desired folder from the Action panel.
There are few ways to create a new Group. In Figure 3,
- from the Action bar right click on any selected component and select Groups or click New Group;
- In the Create new group form, enter a name for the group. You may add other components or remove components for the group. Hit Create.
From the Working panel,
- select the components that you would like to group by pressing SHIFT and dragging on the Dataflow;
- Right clicking anywhere on the Dataflow will raise the custom context menu. Hit Create new group.
To view the component within a group, right click on the group, and click Expand 1 group/Shrink group from the working panel. Alternatively, you can click on the Expand / Shrink icon on top right corner of the group to expand / shrink it as shown in the Figure 5.
Once the group has been collapsed as shown in Figure 6, it displays a summary of the items within it in the following order (from left to right):
- number of Read Connectors;
- number of Transform Blocks;
- number of Write Connectors;
- number of Data Feeds.
Select a group from the Action panel to rename or delete the corresponding group. (Figure 7 and 8 below). In this case deleting the group will not delete the components inside the group.
Delete groups and its content
Others ways to delete a group (Figure 9):
- left clicking a container group from the Working panel and then click DELETE from the Action panel;
- right clicking any selected component and select Delete 1 components.
Doing that will delete the group only! The Component's will remain in the Dataflow.
Updated over 2 years ago