-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestnice-to-haveFuture enhancementFuture enhancement
Description
Overview
Visualize paper connections showing cites/cited-by relationships.
Why
Scientists need to understand how papers relate. "What papers cite this?" and "What does this cite?" reveal research lineage.
Plan
1. Data Model
// Model/CitationLink.swift
struct CitationLink: Codable {
let sourcePaperId: String // Paper that cites
let targetPaperId: String // Paper being cited
let context: String? // Citation context snippet
}2. Fetch Citation Data
- Semantic Scholar API (has citation graph)
- OpenCitations API (open data)
- Cache locally
3. Graph Visualization
- Use SwiftUI Canvas or custom view
- Node = paper (size by citation count)
- Edge = citation link
- Pan/zoom navigation
- Click node → show paper details
4. Graph Modes
- Ego network: Selected paper + its citations + citing papers
- Space network: All papers in space + their connections
- Depth control: 1-hop, 2-hop connections
5. Integration
- "Show Citation Graph" button on paper
- Graph view tab in space
Acceptance Criteria
- Show papers citing selected paper
- Show papers cited by selected paper
- Interactive graph visualization
- Click node opens paper
- Works with DOI-identified papers
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestnice-to-haveFuture enhancementFuture enhancement