How horacech/linear-gragh-explorer works
PVCR Linear Graph Explorer is a private, read-only task-graph SPA. Users can connect with Linear OAuth or explore synthetic demo data, then inspect team projects, milestones, issues and their relationships in filtered, focused or expanded graph views. The live sync validates the PVCR team, retrieves and normalizes a complete snapshot, and the UI presents graph diagnostics and task details. The excerpts show the sync, authorization and normalization calls; some UI feature wiring is not shown, so those relationships are omitted.
Main entry points: api.ts Sync Orchestrator · main.tsx Explorer App · auth.ts PKCE Auth · model.ts Graph Normalize
Components 20
Connection
- PKCE Auth
src/auth.ts
Live Sync
- Sync Orchestrator
src/api.ts - Team Validation
src/api.ts - Project & Issue Fetch
src/api.ts - Milestone Fetch
src/api.ts - Relation Fetch
src/api.ts - GraphQL Transport
src/api.ts - Pagination
src/api.ts
Graph Domain
- Graph Normalize
src/model.ts - Graph Analysis
src/model.ts - Neighborhood Expansion
src/model.ts - Synthetic Graph
src/demo.ts
Explorer UI
- Explorer App
src/main.tsx - Graph Views
src/main.tsx - Filters & Layout
src/main.tsx - Diagnostics & Details
src/main.tsx - Connection Settings
src/main.tsx
Other components
- User
- Linear API
- OAuth Service
Connections 20
- User → Explorer App: uses
README.md - Explorer App → PKCE Auth: finishes login
src/main.tsx - PKCE Auth → OAuth Service: exchanges tokens
src/auth.ts - PKCE Auth → OAuth Service: redirects for consent
src/auth.ts - Explorer App → Sync Orchestrator: starts sync
src/main.tsx - Sync Orchestrator → Team Validation: validates team
src/api.ts - Sync Orchestrator → Project & Issue Fetch: loads records
src/api.ts - Sync Orchestrator → Milestone Fetch: loads milestones
src/api.ts - Sync Orchestrator → Relation Fetch: loads relations
src/api.ts - Team Validation → GraphQL Transport: queries through
src/api.ts - Project & Issue Fetch → GraphQL Transport: queries through
src/api.ts - Milestone Fetch → GraphQL Transport: queries through
src/api.ts - Relation Fetch → GraphQL Transport: queries through
src/api.ts - Project & Issue Fetch → Pagination: loads pages
src/api.ts - Milestone Fetch → Pagination: loads pages
src/api.ts - Relation Fetch → Pagination: loads pages
src/api.ts - GraphQL Transport → PKCE Auth: gets access token
src/api.ts - GraphQL Transport → Linear API: sends GraphQL
src/api.ts - Sync Orchestrator → Graph Normalize: normalizes snapshot
src/api.ts - Explorer App → Synthetic Graph: loads demo
src/main.tsx