Skip to main content
100%

Grakn Force Graph

✓ Published2🌍 Public
PPharmazeutik
Last edited Dec 23, 2020
Created on Dec 23, 2020
Forked from 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.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes