vectojs-graph3d
Installation
SKILL.md
VectoJS Graph3D
@vectojs/graph3d renders a force-directed graph as instanced Three.js
geometry and keeps layout strictly separate from rendering. Its only peer is
three; it does not depend on @vectojs/three or @vectojs/core, so a
graph can be dropped into a plain Three.js app. (@vectojs/three becomes
relevant only if you also want VectoJS UI panels in the same 3D scene.)
Architecture: layout and renderer are decoupled
The renderer is deliberately ignorant of how positions were produced.
import { Graph3D, VectoForceLayout, GraphInteraction } from "@vectojs/graph3d";
const graph = new Graph3D({ nodeRadius: 4 });
graph.setGraphData({ nodes, links }); // rebuilds instanced buffers