API reference: @salmonui/data-grid/engine/tree
siblingInfofunction
import { siblingInfo } from '@salmonui/data-grid/engine/tree';function siblingInfo(layout: TreeLayout, s: number): readonly [
number,
number,
number
];
[childCount, posinset, setsize] of a kept row (source index): short
sibling walks, falling back to the layout's arrays (built on first read)
for wide sibling lists, so per-row reads stay O(1) amortized without an
O(n) pass per layout.