Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Grakn Force Graph

Public visualization

Fork of Grakn Force Graph

0 stars0🌍 Public
Yyoav95
Last edited Oct 16, 2023
Created on Oct 16, 2023
Forked from 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.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed