Skip to main content
100%

Force Directed Graph For TaskGraph #2

✓ Published0🌍 Public
Aantoniojl@gmail.com
Last edited May 26, 2022
Created on May 26, 2022

This example displays a force-directed graph of a small task hierarchy, using nodes named albert, bettie, carly, donna, echo, and father, with links that are either solid blue or dashed black. The visualization is rendered as an SVG with D3 v5, using `d3.forceSimulation` to compute node positions with link, charge, collision, and centering forces. The code builds nodes dynamically from the link data and supports interactive dragging of nodes, with links styled according to a binary value attribute that dictates their color and dash pattern.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes