How menchelab/datadivr works
Main Components
a. Core Components:
• Project Management System (datadivr/project/)
• Transport Layer (datadivr/transport/)
• Handlers System (datadivr/handlers/)
• Visualization Module (datadivr/viz/)
• Calculation Module (datadivr/calc/)
• CLI Interface (datadivr/cli.py)
b. External Interfaces:
• Web Server Interface
• Client Interface
• CLI Interface
Component Relationships
Top Layer:
• External Interfaces (Web, CLI, Client)
Middle Layer:
• Project Management
• Transport System
• Handler Registry
Bottom Layer:
• Calculation Engine
• Visualization Engine
• Data Models
Specific Elements
a. Transport Layer:
• WebSocket Server (transport/server.py)
• Web Server (transport/web_server.py)
• Client (transport/client.py)
• Message Models (transport/messages.py)
b. Project Management:
• Project Manager
• JSON Handler
• Texture Management
• Project Models
c. Handler System:
• Handler Registry
• Built-in Handlers
• Custom Handler Extension Point
Specific Relationships to Highlight
• How the CLI interfaces with the Project Manager
• WebSocket communication between Client and Server
• Demonstrate how Handlers integrate with the core system
• Visualization pipeline from data to rendered output
Implementation Details
• Message flow between components
• Handler registration and execution path
• Project data structure flow
• Visualization pipeline stages