Usage guidesInteraction

Highlight on node hover

Hover a node to emphasize it, its immediate neighbors, and their connecting edges.

Hover a node to emphasize it, its immediate neighbors, and their connecting edges.

Configuration

Moving the pointer away restores the original appearance. Use neighborhood highlighting to style the highlighted state.

Example

Loading example…
Hover over B to highlight its neighbors and connecting edges.
const behaviors: BehaviorOption[] = ['highlight-node'];

Try combined node and edge highlighting · Highlighting rules