Tree and list modes
Show hierarchical parent-child data, or flatten the very same dataset into a list when users need a different
working view. One mode attribute switches between them — no second component, no second data shape.