Mutate the parent-child tree — add and remove nodes to reshape a domain hierarchy.
A hierarchy design session is the write side of the hierarchy. Where the hierarchy session lets you traverse the tree, the design session lets you reshape it: adding a node as a child of an existing node, removing a parent-child relationship, and moving subtrees. Override the add and remove adjacency methods to persist changes to your back-end.
| Parameter | Type | Description |
|---|---|---|
manager |
OsidObjectManager |
the manager that opened this session |
hierarchyId |
Id |
the hierarchy being designed |