Grakn Force Graph
This example visualizes a Grakn knowledge graph as an interactive force-directed network, displaying entities, attributes, and relations as color-coded nodes connected by labeled edges. It uses `d3.forceSimulation` with `forceLink`, `forceManyBody`, and `forceCenter` to position nodes, and renders SVG shapes with D3 selections. Right-clicking a node opens a custom context menu, built via a reusable `menuFactory` function that appends menu entries to the SVG. The graph data comes from a static JSON file, and the visualization is implemented in React with D3 v6.