--- title: Highlight Nodes order: 0 redirect_from: - /zh/examples --- Highlighting a node and its neighbors when user hover it is a common requirement in graph analysis applications. ## Usage The demos below show two ways to satisfy the highlight requirement: - Built-in behavior: activate-relations; - `graph.on` or [Custom Behavior](/en/docs/manual/advanced/custom-behavior).