How fandeyibiao07/research-tree works
Research Tree is a bilingual workspace for preserving evolving research reasoning as a typed, traceable graph. The primary workflow is to open or create a tree, edit claims and semantic links on the canvas, retain decision history, and save or reopen the portable document. The README documents logic spots, filtering, tracing, tree tabs, background layers, migration, and bilingual display. Source excerpts are partial, so links for those documented capabilities are limited to the app and relevant enclosing modules; no unsampled call chain is assumed.
Main entry points: research-tree-app.tsx Research workspace · repository.ts Document repository · research-tree-canvas.tsx Graph canvas · page.tsx Workspace page
Components 19
Workspace interface
- Workspace page
app/page.tsx - Research workspace
components/research-tree-app.tsx - Graph canvas
components/research-tree-canvas.tsx - Background layers
components/research-tree-canvas.tsx - Open tree workspace
components/research-tree-app.tsx
Reasoning model
- Expandable reasoning graph
components/research-tree-app.tsx - Typed reasoning links
components/research-tree-app.tsx - Logic spots
components/research-tree-app.tsx - Search and evidence trace
components/research-tree-app.tsx - Decision history
components/research-tree-app.tsx - Tree data types
lib/research-tree/types.ts
Documents and persistence
- Document repository
lib/research-tree/repository.ts - Migration and validation
lib/research-tree/validation.ts - Browser workspace storage
- Workspace operations
lib/research-tree/workspace.ts - Portable tree file
Shared presentation
- Bilingual labels
lib/research-tree/i18n.ts
Other components
- Researcher
- File chooser / download
Connections 19
- Researcher → Workspace page: opens
- Workspace page → Research workspace: renders
- Research workspace → Document repository: loads and saves
- Document repository → Browser workspace storage: reads and writes
- Document repository → Migration and validation: migrates and validates
- Research workspace → Graph canvas: presents canvas
- Research workspace → Expandable reasoning graph: displays graph
- Research workspace → Typed reasoning links: edits relationships
- Research workspace → Logic spots: edits logic spots
- Research workspace → Search and evidence trace: searches and traces
- Research workspace → Decision history: shows history
- Research workspace → Open tree workspace: switches trees
- Research workspace → Bilingual labels: selects language
- Graph canvas → Background layers: manages layers
- Graph canvas → Workspace operations: moves layers
- Research workspace → Portable tree file: exports and imports
- Research workspace → File chooser / download: downloads or selects
- Portable tree file → Research workspace: provides document
- Tree data types → Document repository: defines data shape