move_item {textAnnotatoR} | R Documentation |
Move item in code hierarchy
Description
Moves a code or theme to a new location in the hierarchy while preserving its properties and child nodes. Checks for circular references and maintains the integrity of the hierarchy structure.
Usage
move_item(node, item_path, new_parent_path)
Arguments
node |
Root node of the hierarchy tree |
item_path |
Character vector specifying the current path to the item |
new_parent_path |
Character vector specifying the path to the new parent |
Value
Updated node hierarchy with item moved to new location
[Package textAnnotatoR version 0.1.4 Index]