[Docs] Add an interactive graph view page (force-directed, filter, search, click-through)

Open
#386 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
34/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
d3, javascript

Research direction

Start with docs/src/pages/graph.astro, then check the graph.json dataset issue because this page depends on it. Choose and evaluate a renderer, then build the graph page with the listed search, filters, navigation, and accessible list view. Done means the page meets the mobile performance target and its interactions and accessible alternative satisfy the acceptance criteria.

Written by the indexing model from the issue text.

Description

area: docs-site priority: P2 size: L type: enhancement

Summary

The owner wants an Obsidian-style knowledge graph connecting projects and mathematical concepts as a primary way to explore the repository.

Location

  • docs/src/pages/graph.astro (new)

Evidence

No graph UI exists; depends on the graph.json dataset issue.

Expected

/graph/ renders the whole knowledge graph with smooth interaction on mid-range phones and an accessible alternative.

Proposed fix

  • Renderer: sigma.js + graphology (WebGL, scales to 1k+ nodes) or d3-force on canvas; layout precomputed at build time (ForceAtlas2 seeded) to avoid jank and give a stable picture, then refined client-side.
  • Encodings from tokens: node colour by kind/field, size by degree, edge style by kind.
  • Interactions: hover highlights neighbours; click navigates; search box focuses a node; filters (kind, field, stage, language); zoom/pan; 'local graph' depth slider.
  • Hydrate with client:visible; respects prefers-reduced-motion (no simulation).
  • Accessibility: a keyboard-navigable list/table view of nodes and their neighbours toggled from the same page.

Acceptance criteria

  • Graph page loads < 200 KB JS gz and is interactive in < 2 s on Lighthouse mobile
  • Filters, search and click-through work (Playwright test)
  • List view exposes the same information to screen readers

Repository audit, November 2026 · Phase 8 · Knowledge graph · evidence: found by code reading · ref platform-036


Generated by Claude Code

Dominant language
C++
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ibra-kdbra/Math-Problems

All issues in ibra-kdbra/Math-Problems

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.