{"repo":"jonobr1/force-directed-graph","free":true,"listed":false,"github":"https://github.com/jonobr1/force-directed-graph","clone":"git clone https://github.com/jonobr1/force-directed-graph.git","description":"GPU supercharged attraction-graph visualizations built on top of Three.js","language":"JavaScript","stars":95,"topics":["data-visualization","force-directed-graphs","gpgpu","physics","threejs","2d","3d"],"license":"MIT","category":"analytics","readme_excerpt":"Force Directed Graph GPU supercharged attraction-graph visualizations for the web built on top of Three.js. Importable as an ES6 module. 1. 🧮 Simulation computed on GPU via render targets 2. 🕸️ Accepts thousands of nodes and links 3. 🎨 Configurable point and link colors 4. 〰️ GPU-expanded antialiased line rendering with configurable width 5. 📦 Single library dependent (Three.js) 6. 🧩 Three.js scene compatible object 7. 📝 Simple data schema to populate compatible with d3.js JSON samples 8. 🧊 2d & 3d simulation modes 9. 🦺 WASM workers to generate textures Visit the hosted project page for a running demo. Usage Import in ES6 environment Data Schema ( constructor and set ) Reference: The accepted nodes / links structure is inspired by the D3 force-directed graph data format: @d3/force-directed-graph-component. The same data object shape is accepted by: - new ForceDirectedGraph(renderer, data) - fdg.set(data[, callback]) [!TIP] It is recommended to use set and update setters in the callback or after the promise resolves. E.g: fdg.set(data).then(() = {fdg.linewidth = 2}) [!NOTE] - nodes and links are both required. - source / target are resolved by node id . - If x , y , or z is omitted, a random initial position is assigned. - If a node defines at least two of x , y , z , those values also become that node's target position when pinStrength 0 . - isStatic defaults to false . - If color is omitted, the node defaults to white. - set(data[, callback]) returns a Promise that r","default_branch":null,"files":null,"tree":[],"storefront":"/r/jonobr1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jonobr1/force-directed-graph/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}