Force Directed Graph For TaskGraph #2
✓ Published0🌍 Public
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 descriptionAn example including some commonly used features of SVG.
MIT Licensed