In this example, you can see the modes available for performing highlight and selection in TreeMap. It can be either enabled or disabled.
Injecting Module
TreeMap component features are segregated into individual feature-wise modules. To use highlight and selection, inject the Selection module using the TreeMap.Inject(TreeMapSelection)inject the Highlight module using the TreeMap.Inject(TreeMapHighlight) method.
More information on selection can be found in this
documentation section.