Grakn D3 Force Graph
✓ Published7🌍 Public
This example visualizes a Grakn knowledge graph as an interactive force-directed network, displaying entities, attributes, and relations as colored nodes and links. Built with D3 v4 in a React framework, it uses SVG rendering and `d3.forceSimulation` with `forceLink`, `forceManyBody`, and `forceCenter` to position nodes. The code implements zooming via `d3.zoom`, node dragging, and a custom right-click context menu for node actions. Node shapes and colors vary by type, with text labels sized to fit each rectangle.
AI-generated descriptionA bare minimum d3 page.
See also React Starter.
MIT Licensed