How foldingathome/fah-web-client-bastet works
Component Relationships
• WebSocket communications (wavy lines)
[Web Browser]
• ↓
[Vue Router] ← → [App.vue]
• ↓
[Feature Modules]
• Account
• Machines
• Units
• Projects
• Statistics
• ↓
[Services Layer]
• API
• WebSocket
• Machine Connection
• ↓
[Utility Layer]
Component Hierarchy
• Main Vue components hierarchy
• Reusable components (Button.vue, Dialog.vue, etc.)
• View components vs. utility components
Data Flow
• How data flows between components
• WebSocket communication paths
• Machine connection patterns
State Management
• How different states are managed
• Cache interaction patterns
• Data persistence methods
External Interactions
• Connection to Folding@home client
• External API endpoints
• WebSocket connection points
Remember to:
• Use consistent symbols and notation
• Both synchronous and asynchronous communications
• Error handling paths
• Security implementation points