design-infraGitHub
Report a problem or share feedback← Catalog

React Force Graph 2D · Highlighted graph neighborhoods

free

react-force-graph/highlight

Focus selected nodes and their connected links on a 2D Canvas.

$pnpm add react-force-graph-2d

npm deps: react-force-graph-2d

Our notes

Integration recipe: the command installs the library, not a standalone finished component. Adapt the linked upstream API/example to your data and brand. These entries use the 2D Canvas package and verified 2D source examples. The upstream project also has separate 3D/WebGL/VR/AR packages; do not substitute those APIs. Bound/warm up the simulation, map node/edge colors, provide readable selection details and stop animations/dispose on unmount. Upstream: https://github.com/vasturiano/react-force-graph. License: MIT. Package metadata: react-force-graph-2d@1.29.2; peers: react *. Runtime integration is not verified by this metadata sync.
Source
React Force Graph 2D
Kind
component
Categories
graph
Use as
recipe — technique you apply to your own markup
Applies to
graph
Motion
not tagged (static or unknown)
Tags
data-visualization, visualization-reference, canvas, integration-recipe, highlight
Licence
MIT; preserve the upstream license and notices. See source-specific terms below.
Live demo
vasturiano.github.io
Docs
vasturiano.github.io