SankeyDiagram.highlightNodesAndLinks Method
Applies the highlight CSS class to each node element and its outgoing link paths for
which the predicate returns true. Used in explore mode.
Parameters
- nodePredicate
-
Type: Function
A function called with the node datum; return true to highlight the node and its outgoing links.