How coldenate/citationista works
Main Components
a) Core Components:
• RemNote Plugin Interface
• Zotero Integration Service
• Citation Management System
• Export Service
b) Data Flow Components:
• Sync Manager
• Property Hydrator
• Change Detector
• Tree Builder
Interface Layer
• RemNote Plugin Interface at the top
• Plugin I/O Service (from src/services/pluginIO.ts)
Core Services Layer
• Zotero Integration (src/api/zotero.ts)
• Citation Management (src/services/createLibraryRem.ts)
• Export Service (src/services/exportCitations.ts)
Sync Infrastructure Layer
• Sync Manager (src/sync/zoteroSyncManager.ts)
• Change Detector (src/sync/changeDetector.ts)
• Property Hydrator (src/sync/propertyHydrator.ts)
• Tree Builder (src/sync/treeBuilder.ts)
Use the following visual elements:
• Rectangles: Main components
• Rounded rectangles: Services
• Blue: Interface Layer
• Green: Core Services Layer
• Orange: Sync Infrastructure Layer
Key Relationships to Show:
Citation Management ↔ Export Service
Specific features:
Cache management (src/utils/cache.ts)
Additional Considerations:
Data transformation pipeline from Zotero to RemNote format
Important Notes:
• Keep the focus on the core functionality of citation management and Zotero integration
• Plugin's relationship with both RemNote and Zotero
• Clear boundaries between the plugin and external systems
• Utility functions' role in supporting the main components