TreeDiagram.highlight Method
Marks each node for which the predicate returns true as highlighted (along with its
outgoing links), then applies the visual highlight state.
Parameters
- nodePredicate
-
Type: Function
A function called with the node datum; return true to highlight the node and its source links.