visualize_hierarchy {textAnnotatoR}R Documentation

Generate visual representation of code hierarchy

Description

Creates an HTML tree visualization of the code hierarchy with proper indentation, icons, and interactive elements.

Usage

visualize_hierarchy(node)

Arguments

node

Root node of hierarchy tree with attributes:

  • name: character, node name

  • type: character, "theme" or "code"

  • description: character, node description

  • children: list of child nodes

Value

Character string containing HTML markup for tree visualization


[Package textAnnotatoR version 0.1.4 Index]