Flattens expanded Tree nodes into visible rows.
Children are visited only when their parent id is present in expandedIds. The returned rows reference caller-owned nodes without mutating them.
expandedIds
Flattens expanded Tree nodes into visible rows.
Children are visited only when their parent id is present in
expandedIds. The returned rows reference caller-owned nodes without mutating them.