Skip to main content
100%

Force Directed Graph

✓ Published1🌍 Public
Wwinniepooh520
Last edited Nov 5, 2020
Created on Nov 5, 2020

This example pairs a force-directed graph with an adjacency matrix. Users can click a node in the graph or a cell in the matrix to highlight all corresponding links, with the graph rendered as an SVG. The layout is computed using `d3.forceSimulation` with `forceLink`, `forceManyBody`, and `forceCenter`, while the matrix cells are drawn as SVG rects with fill opacity reflecting edge weight. Both views support zoom and pan, and the graph nodes are draggable via d3-drag.

AI-generated description
MIT Licensed

Similar vizzes