react-force-graph is a React component for rendering interactive 2D and 3D network visualizations using a force-directed layout engine. It functions as an interactive data visualization library that employs D3-force simulations to manage node physics and relationship positioning.
The library includes a 3D visualization tool that utilizes ThreeJS to render complex nodes and links within an immersive space. It provides programmatic control over zooming, panning, and viewport navigation, alongside a coordinate-to-object picking mechanism for handling user interactions like clicks, hovers, and drags.
The system supports the visualization of structured networks, including knowledge graphs, social network analysis, and hierarchical data mappings. Visual customization is available for both nodes and links, allowing for custom shapes, colors, materials, and labels based on data attributes.
The library provides tools to regulate simulation physics, such as node velocity and charge, to maintain layout stability.