HeatmapState
State holder for drill-down navigation in Heatmap.
Properties
The root-to-visible path, including the visible group.
Whether a platform back action can return from the current group to its parent.
Root-relative group path. IDs may repeat in different branches.
The id of selectedNode, retained as a convenient lightweight selection value.
The leaf selected by the consumer, including its domain data, if any.
Root-relative selected leaf path, suitable for the display tree aggregatedSources mapping.
Functions
Clears the current leaf selection.
Whether node is the exact leaf currently selected in this heatmap tree.
Navigates to an item in breadcrumbs.
Navigates to an item at index in breadcrumbs.
Opens any group by its complete root-relative path. Invalid paths leave state unchanged.
Navigates one level upward, returning whether the visible group changed.
Marks a leaf as selected. Selection does not change the visible navigation path.
Replaces immutable data while retaining valid navigation and selection paths.