Skip to main content

Knowledge Graph Overview

The Knowledge Graph (also called “Brain Map” or “My Brain Map”) is a visual representation of everything a learner knows. It shows concepts as nodes and the relationships between them as edges, creating an interconnected map of learning.

Visual Learning Map

Learners see their knowledge graph on the home screen:

Graph Data Structure

Connected Concepts

The knowledge graph shows how concepts relate to each other.

Node Structure

Each node represents a learned concept:
id: Unique identifier (e.g., “fractions-intro”)label: Display name (e.g., “Introduction to Fractions”)category: Subject area (e.g., “Math”, “Science”)importance: Relative weight (1-10 scale)x, y: Position coordinates for layout

Edge Structure

Each edge represents a relationship between concepts:
source: ID of the origin concepttarget: ID of the destination conceptlabel: Relationship type (e.g., “builds on”, “requires”)strength: Connection weight (0.0 - 1.0)

Example Graph

Progress Visualization

Circle Layout

Nodes are arranged in a circular layout by default:

Interactive Features

Tap Nodes

Tap any concept to highlight it and see details

Zoom Controls

Zoom in/out buttons to explore dense graphs

Reset View

Return to default zoom and position

Pan Support

Drag to move the graph around (if implemented)

Zoom Controls

SVG Rendering

The graph is rendered using React Native SVG:

Subject Relationships

Learner Profile Schema

The knowledge graph is stored in the learner’s profile:

Graph Updates

The knowledge graph is updated after each lesson completion:
Currently, graph updates happen automatically based on lesson content. Future versions may use more sophisticated algorithms to determine node importance and edge strength.

Subject-Based Organization

Nodes can be categorized by subject:

Performance Tracking by Subject

The profile tracks performance per subject:
Example:

Empty State

If no concepts have been learned yet:
The knowledge graph starts empty and grows as the learner completes lessons. Each new lesson adds concepts (nodes) and relationships (edges) to the map.

Dashboard Display

The learner dashboard shows total concepts learned:

Future Enhancements

Potential improvements to the knowledge graph:

Force-Directed Layout

Use physics simulation to automatically arrange nodes based on relationships

Concept Highlighting

Show concepts needing review in different colors

Subject Filtering

Toggle visibility of specific subjects

Timeline View

Animate graph growth over time

Next Steps

Concept Mastery

Learn how mastery tracking works per concept

Learner Profile

See the full learner profile data structure