Working prototype / TypeScript

KnowledgeNexus

From notes to a navigable graph

An experiment that extracts entities and relationships from Markdown or plain-text notes and lets readers explore them as a force-directed 3D graph.

KnowledgeNexus — knowledge graph UI screenshot
Original public repository image. · View full size ↗ · Source

Read a document through its relationships

KnowledgeNexus begins with a Markdown or plain-text file and asks a model to extract entities and relationships. The result becomes a force-directed 3D graph that can be rotated, searched and inspected. The experiment explores a different way to navigate notes: follow a connection rather than move only through a linear document.

Extraction, normalization and exploration

Gemini returns graph data under a structured response schema. A normalization layer adjusts node importance, removes invalid links and provides shared import/export checks. The Three.js-based graph presents typed nodes, labels and highlighted search results; selecting a node opens its metadata in a sidebar.

A refinement step uses a disjoint-set structure to identify isolated nodes and clusters, then asks the model to propose semantic bridges. A separate chat interface supports questions about the graph. JSON import and export let an explored structure be saved and revisited without starting from the original file each time.

An interpretation worth inspecting

The graph makes relationships easier to notice, but those relationships are model-generated interpretations. Connecting an orphaned node does not prove the connection is correct. The project keeps normalization and graph structure explicit so that the visualization can be examined as a proposed reading of the material.

Implementation at a glance

  • Uses Gemini extraction to produce graph data.
  • Supports file ingestion, search, node inspection and JSON import/export.
  • Keeps context and relationships visible alongside the source material.

Project status

A model-generated document interpretation. Extraction accuracy and proposed semantic bridges have not been independently validated.