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

Aperta
#386 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
34/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
d3, javascript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C++
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ibra-kdbra/Math-Problems

Tutte le issue di ibra-kdbra/Math-Problems

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.