Function: barTree()
barTree<
Ctx>(nodes,inputs,depth?):BarTreeNode[]
Defined in: modal/bar.ts:162
Project the bar tree DEPTH-FIRST: each shown node in declaration order, its revealed children nested directly under it (pre-order). Same admission rule as barModel — a child tier appears only while its parent cap is shown AND lit — but the shape keeps a parent adjacent to its descendants so the UI can draw them as one bracketed group instead of splitting the tree across depth rows. This is what the command bar renders; barModel (breadth-first depth rows) stays for the flat config strip.
Type Parameters
Ctx
Ctx
Parameters
nodes
readonly BarNode<Ctx>[]
inputs
BarInputs<Ctx>
depth?
number = 0