visualize_hierarchy: Generate visual representation of code hierarchy

View source: R/annotate_gui.R

visualize_hierarchyR 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


textAnnotatoR documentation built on April 3, 2025, 7:35 p.m.