Fork of Force-Directed Graph V9 11
A force-directed graph visualizes system interfaces between applications, with nodes representing software and links showing data connections based on two CSV files. The graph uses `d3.forceSimulation` with forces for charge, link distance, center positioning, and collision avoidance, while `d3.drag` enables interactive node movement. Each circle and text label updates position during simulation ticks, and grey lines connect related applications. The implementation reads node and link data from CSV files, then renders the network using SVG elements with D3 v7.
AI-generated descriptionCreating a force-directed graph, based on data of two csv-files.
Sources: - Scatter Plot: https://www.youtube.com/watch?v=xkBheRZTkaw&t=37528s
- force-directed graph: https://www.youtube.com/watch?v=y7DxbW9nwmo
- documentation: https://github.com/d3/d3-force
- Accessor with named sources and targets: https://github.com/d3/d3-force#link_id
Text, Color, Drag: https://youtu.be/y7DxbW9nwmo?t=1696
Filter:
open issues:
- count number of links -> change force (number of links > 1 -> push appart / number of links < 1 -> force together)
- add arrows to links
- change interf.csv (wrong source data for filters)
- add filter options