---
title: Click to Focus a Node
order: 6
---

Move the graph by interaction.

## Usage

Move the graph to focus on the clicked node, which means pan the canvas to center at the clicked node.

- 1st demo: move the graph with animation;
- 2nd demo: move the graph without animation.
