D3 force-directed relationship graph (original work)
Add-ons

Plugin description: The most powerful and easiest-to-use D3 relationship chart on this website. Everything is contained in a single HTML file. Every step was implemented from scratch, with detailed comments that make the code easy to understand. Supports multiple symmetrical lines.
Last updated: 2019/8/5 3:42:29 PM
Changelog:Added
(1) Zoom in and out using the mouse wheel
(2) Drag circular nodes to reposition them. After releasing the mouse button, the nodes remain in their new positions instead of returning to their original positions, preventing unwanted movement.
The code includes complete comments. You only need to pass a JSON string (links) to the page to use it normally. Simple and convenient.
评论