Skip to content

Function: barModel()

barModel<Ctx>(nodes, inputs): BarRow[]

Defined in: modal/bar.ts:219

Project the bar tree for the current inputs: depth rows, declaration order, children admitted while their parent cap is shown and lit. Empty rows are dropped.

Type Parameters

Ctx

Ctx

Parameters

nodes

readonly BarNode<Ctx>[]

inputs

BarInputs<Ctx>

Returns

BarRow[]