format_tree_leaves: Render labels as tree leaf nodes

View source: R/modules.R

format_tree_leavesR Documentation

Render labels as tree leaf nodes

Description

Takes a character vector of labels and renders them as tree leaves with proper ⁠|-⁠ / ⁠L-⁠ connectors.

Usage

format_tree_leaves(labels, prefix)

Arguments

labels

(character) Labels to render as leaf nodes

prefix

(character(1)) Prefix for each line (indentation and pipe characters)

Value

(character(1)) Formatted string with tree connectors


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