visualize_hierarchy: Generate visual representation of code hierarchy
Description
Creates an HTML tree visualization of the code hierarchy with proper
indentation, icons, and interactive elements. Now also displays unassigned codes.
Usage
visualize_hierarchy(node, all_codes = NULL)
Value
Character string containing HTML markup for tree visualization
Arguments
- node
Root node of hierarchy tree with attributes
- all_codes
Character vector of all codes in the application