Fork of Grakn Force Graph
This example visualizes a knowledge graph using a force-directed layout, displaying entities, attributes, and relations from a JSON dataset. The graph uses colored, rounded rectangles for entities and attributes, and circles for relations, with text labels for each node. It implements interactive features, such as a right-click context menu that appears at the node's location. The visualization is built with React and uses D3 v6 APIs including `d3.forceSimulation`, `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCenter` to simulate the physics, while the graph is rendered as SVG.