Fork of Grakn D3 Force Graph
✓ Published0🌍 Public
This example visualizes a graph of entities and attributes from a Grakn knowledge graph, rendered as an interactive force-directed network. Using d3.forceSimulation, forceLink, and forceManyBody, nodes are positioned and connected by links, with SVG rectangles and text labels styled by node type. The code includes a custom right-click context menu (createContextMenu) that appears at the cursor position, offering placeholder actions. Zooming is enabled via d3.zoom, and node dragging is supported through d3.drag, all within a React-based setup using D3 v4.
AI-generated descriptionA bare minimum d3 page.
See also React Starter.
MIT Licensed