Bulk management of parent-child relationships
The benefits of the bulk management of parent-child relationships include:
- Efficiency: Update multiple elements simultaneously instead of modifying them individually.
- Accuracy: Prevent circular references and preserve structural integrity through built-in safeguards.
- Flexibility: Restructure hierarchies by moving sub-trees or assigning multiple parents in a single workflow.
- Accessibility: Perform operations with keyboard shortcuts.
Bulk assignment
With the option, you can link multiple selected elements to one or more common parents. Typically, the option is used when you create or extend hierarchies.
The bulk assignment includes:
- Multi-selection: Multiple target parents are selected in a single operation.
- Smart filtering: Selected elements and their descendants are excluded from the parent selection to prevent circular references.
- Deduplication: Only new parent-child relationships are created, and existing relationships are skipped.
Bulk movement
With the option, you can relocate a group of elements from their current visual parent to a new single parent.
The bulk movement includes:
- Contextual availability: The option is available only when all selected elements share the same parent.
- Sub-tree preservation: An element is moved with all its descendants.
- Relationship management: An existing parent-child relationship is removed, and a new relationship is established. Other, unrelated parent assignments are preserved.
Bulk removal
With the option, you can disconnect selected elements from their current parent.
The bulk removal includes:
- Safety check: To prevent accidental data restructuring, a confirmation prompt is displayed before relationships are removed.
- Targeted action: Only specific parent-child relationships for selected elements are removed. If an element has no other parents after removal, the element becomes a root element.
Keyboard shortcuts
This table shows keyboard shortcuts to initiate the , , or actions:
| Action | Shortcut | Prerequisite |
|---|---|---|
| Ctrl + Alt + A | Elements must be selected. | |
| Ctrl + Alt + M | Elements must share the same parent. | |
| Ctrl + Alt + D | At least one element must have a parent. |
Behind-the-scenes processes
These behind-the scenes processes are performed during the bulk actions:
- Circular reference prevention: Hierarchies are validated in real-time. To prevent the movement of a parent element into one of its child elements, the parent's child elements are disabled in the selection list.
- Confirmation before an element transformation: If you add children, a base element becomes a consolidated element and you are prompted to confirm the operation before the change is applied.
Troubleshooting
This table shows some possible issues, their possible causes, and how to resolve them:
| Issue | Possible cause | Resolution |
|---|---|---|
| is disabled. | Selected elements belong to different parents. | Ensure that all selected elements share the same parent before you move them. |
| A specific element is missing from the parent selection dialog box. | The element is a descendant of your current selection. | You can't assign an element to its child or grandchild because this creates a circular reference. |
| Keyboard shortcuts don't work. | The grid doesn't have focus or the 1.5-second window has expired. | To make the grid focused, click inside the grid. Then, press Ctrl + Alt + action key (A, M, or D).
Note: Press an action key (A, M, or D) within 1.5 seconds after pressing the Ctrl + Alt combination.
|
FAQs
What happens when I remove an element's only parent?
The element becomes a root-level element in the hierarchy.
Can I assign an element to multiple parents simultaneously?
Yes. With the option, you can select multiple parents to create multiple relationships simultaneously.