/** * LearnGraph React Components * * Visual components for graph exploration and learning dashboards. * * @packageDocumentation * * @example * ```tsx * import { * LearnGraphProvider, * useLearnGraph, * SkillGraph, * SkillCard, * SkillExplorer, * LearningPathView, * ProgressDashboard, * } from 'learngraph/components'; * import { MemoryStorage } from 'learngraph/storage'; * * // Setup storage * const storage = new MemoryStorage(); * await storage.connect({ backend: 'memory' }); * * // Wrap your app with the provider * function App() { * return ( * * * * ); * } * * // Use hooks and components * function CurriculumView() { * const { skills, edges, isLoading } = useLearnGraph(); * * if (isLoading) return
Loading...
; * * return ( * * ); * } * ``` */ export type { GraphNode, GraphEdge, GraphLayout, GraphViewport, SkillGraphProps, MasteryState, SkillCardProps, PathStep, LearningPathViewProps, LearningStats, BloomProgress, ActivityItem, ProgressDashboardProps, SkillFilters, SkillExplorerProps, LearnGraphContextValue, UseLearningPathOptions, UseLearningPathResult, UseZPDOptions, UseZPDResult, } from './types.js'; export { DEFAULT_BLOOM_COLORS, STATUS_COLORS } from './types.js'; export { LearnGraphProvider, useLearnGraph, useLearningPath, useZPD, useSkill, useFilteredSkills, type LearnGraphProviderProps, type UseSkillResult, type UseFilteredSkillsResult, } from './hooks.js'; export { SkillGraph } from './SkillGraph.js'; export { SkillCard } from './SkillCard.js'; export { LearningPathView } from './LearningPathView.js'; export { ProgressDashboard } from './ProgressDashboard.js'; export { SkillExplorer } from './SkillExplorer.js'; //# sourceMappingURL=index.d.ts.map