How demosamples/family-tree works
Kinship Archive is a bilingual genealogy application for recording family relationships, researching individual lives, and exploring lineage over time. A researcher works in the main workspace to view the family graph, timeline, or directory; they can inspect and edit dossiers, manage collaboration and history, use the AI assistant, and import or export records. Family records and UI state are coordinated in App, with genealogy calculations and knowledge-graph construction supporting exploration. The README is empty, so capability and relationship details are limited to the supplied source index and excerpts; unsampled integrations are not inferred.
Main entry points: App.tsx Application Workspace · genealogy.ts Genealogy Calculations · family.ts Family Record Types · PersonFormModal.tsx Person Editor
Components 20
Research Workspace
- Application Workspace
src/App.tsx - Workspace Navigation
src/components/TopBar.tsx
Family Records
- Family Record Types
src/types/family.ts - Sample Family Data
src/data/initialFamilyData.ts - Person Editor
src/components/PersonFormModal.tsx - Person Dossier
src/components/PersonDetailModal.tsx - Delete Confirmation
src/components/ConfirmDeleteModal.tsx - Data Portability
src/components/ExportImportModal.tsx
Lineage Exploration
- Genealogy Calculations
src/utils/genealogy.ts - Interactive Family Graph
src/components/TreeCanvas.tsx - Knowledge Graph Builder
src/db/knowledgeGraphStore.ts - Timeline View
src/components/TimelineView.tsx - Era Navigator
src/components/TimelineEraSlider.tsx - Family Directory
src/components/ListView.tsx
Research Services
- Collaboration and Roles
src/components/CollaborationModal.tsx - AI Genealogist
src/components/AIAssistantDrawer.tsx - Browser Local Storage
- Nepali Transliteration
src/utils/nepaliTransliteration.ts - English and Nepali Text
src/utils/i18n.ts
Other components
- Researcher
Connections 29
- Researcher → Application Workspace: uses
- Application Workspace → Workspace Navigation: renders
src/App.tsx - Application Workspace → Interactive Family Graph: renders
src/App.tsx - Application Workspace → Timeline View: renders
src/App.tsx - Application Workspace → Era Navigator: renders
src/App.tsx - Application Workspace → Family Directory: renders
src/App.tsx - Application Workspace → Person Dossier: renders
src/App.tsx - Application Workspace → Person Editor: renders
src/App.tsx - Application Workspace → Delete Confirmation: renders
src/App.tsx - Application Workspace → Data Portability: renders
src/App.tsx - Application Workspace → Collaboration and Roles: renders
src/App.tsx - Application Workspace → AI Genealogist: renders
src/App.tsx - Application Workspace → Family Record Types: uses records
src/App.tsx - Application Workspace → Sample Family Data: loads sample
src/App.tsx - Application Workspace → Genealogy Calculations: recalculates generations
src/App.tsx - Application Workspace → Browser Local Storage: reads and writes
src/App.tsx - Interactive Family Graph → Knowledge Graph Builder: builds graph data
src/components/TreeCanvas.tsx - Interactive Family Graph → Genealogy Calculations: uses lineage helpers
src/components/TreeCanvas.tsx - Person Editor → Nepali Transliteration: transliterates names
src/components/PersonFormModal.tsx - Data Portability → Genealogy Calculations: exports GEDCOM
src/components/ExportImportModal.tsx - AI Genealogist → Knowledge Graph Builder: uses graph data
src/components/AIAssistantDrawer.tsx - Application Workspace → English and Nepali Text: uses translations
src/App.tsx - Workspace Navigation → English and Nepali Text: uses translations
src/components/TopBar.tsx - Person Editor → English and Nepali Text: uses translations
src/components/PersonFormModal.tsx - Person Dossier → Family Record Types: displays records
src/components/PersonDetailModal.tsx - Collaboration and Roles → Family Record Types: uses researcher roles
src/components/CollaborationModal.tsx - Timeline View → Genealogy Calculations: uses lineage helpers
src/components/TimelineView.tsx - Family Directory → Genealogy Calculations: uses lineage helpers
src/components/ListView.tsx - Sample Family Data → Family Record Types: defines records
src/data/initialFamilyData.ts