format_decorator_entries: Render decorator entries as tree nodes

View source: R/modules.R

format_decorator_entriesR Documentation

Render decorator entries as tree nodes

Description

Renders global decorator labels and object-specific decorator groups as sibling entries under a common prefix. Reuses format_tree_leaves() for rendering children within object groups.

Usage

format_decorator_entries(decorators_info, prefix)

Arguments

decorators_info

(list) with global (character vector) and objects (named list) components, as returned by format_decorators_tree()

prefix

(character(1)) Prefix for each line

Value

(character(1)) Formatted string with tree connectors


teal documentation built on June 30, 2026, 5:11 p.m.