@jsvision/ui / MarkerStyle
Type Alias: MarkerStyle
MarkerStyle =
"tv"|"brackets"|"triangle"
Defined in: ui/src/tree/graph.ts:81
How a Tree draws its per-row expand/collapse marker.
'tv'— the default: a single+on a collapsed node,─on an expanded node or a leaf.'brackets'— pure-ASCII[+]/[-]on collapsible nodes (3 blank cells on a leaf); the most legible option and the safe fallback when Unicode is unavailable.'triangle'—▸/▾on collapsible nodes (a single blank on a leaf); needs a Unicode terminal and degrades to'brackets'when the caps report no Unicode.
All markers are single-width, so a style change never disturbs column alignment.