Flat-projected node carrying all ARIA-relevant metadata ยท Collect all descendant values of a node (exclusive of the n...
utils/tree
Category
References7#
- InterfaceFlatTreeNodeFlat-projected node carrying all ARIA-relevant metadata
- FunctioncollectDescendantValuesCollect all descendant values of a node (exclusive of the node itself), in DFS order
- FunctionfilterTreeReturn a new tree containing only nodes whose value matches predicate or have at least one matching descendant
- FunctionflattenTreeFlatten a tree in DFS order
- FunctionisNodeVisibleA flat node is visible iff every ancestor in its parentIds chain is present in expandedIds
- FunctionsortTreeReturn a new tree where each level's siblings are sorted independently by the by extractor
- FunctionwalkTreeDFS visitor