How edgar-mendonca/datum-plot works
Datum Plot is a desktop scientific data-analysis application. Users create or import experiment tables, run analyses, inspect linked results, build and format graphs, arrange page layouts, and export or share outputs. The README documents a linked project flow; sampled code confirms UI-to-shell commands and Python-worker dispatch for analysis and graph rendering. Some runtime wiring and several feature modules were not sampled, so uncertain connections are omitted or marked unverified.
Main entry points: analysis.py Analysis dispatch · worker.py Python worker · api.ts Command API · graph.py Graph rendering
Components 23
Desktop experience
- Application UI
ui/src/main.tsx - Command API
ui/src/api.ts - Tauri shell
src-tauri/src/main.rs - Python worker
py/worker.py - Python console
py/datum/console.py
Project data
- Project model
crates/core/src/model.rs - Project documents
crates/core/src/doc.rs - Data import
py/datum/imports.py - Graph digitizer
crates/core/src/digitize.rs - Worksheets
py/datum/sheet.py
Scientific analysis
- Analysis interface
ui/src/results.tsx - Analysis dispatch
py/datum/analysis.py - Statistics
py/datum/stats.py - Group comparisons
py/datum/groups.py - Regression fits
py/datum/regress.py - Survival analysis
py/datum/survival.py - Specialized analyses
py/datum
Graphs and output
- Graph view
ui/src/graph.tsx - Graph formatting
ui/src/format.tsx - Graph rendering
py/datum/graph.py - Page layouts
ui/src/layout.tsx - Export and reports
py/datum/report.py
Other components
- User
Connections 27
- User → Application UI: uses
README.md - Application UI → Command API: invokes
ui/src/main.tsx - Command API → Tauri shell: sends commands
ui/src/api.ts - Tauri shell → Python worker: starts worker
- Python worker → Analysis dispatch: dispatches analysis
py/worker.py - Python worker → Graph rendering: dispatches rendering
py/worker.py - Python worker → Data import: dispatches import
py/worker.py - Python worker → Python console: dispatches console
py/worker.py - Python worker → Export and reports: dispatches reports
py/worker.py - Analysis interface → Command API: requests analysis
ui/src/results.tsx - Graph view → Command API: requests render
ui/src/graph.tsx - Analysis dispatch → Statistics: uses summaries
py/datum/analysis.py - Analysis dispatch → Group comparisons: dispatches tests
py/datum/analysis.py - Analysis dispatch → Regression fits: dispatches fits
py/datum/analysis.py - Analysis dispatch → Survival analysis: dispatches survival
py/datum/analysis.py - Analysis dispatch → Specialized analyses: dispatches methods
py/datum/analysis.py - Graph rendering → Statistics: summarizes data
py/datum/graph.py - Graph formatting → Command API: updates graph style
ui/src/format.tsx - Graph view → Graph formatting: opens formatting
ui/src/graph.tsx - Project documents → Project model: serializes model
crates/core/src/doc.rs - Graph digitizer → Project model: creates table data
crates/core/src/digitize.rs - Data import → Project model: reads into tables
- Worksheets → Statistics: uses summaries
py/datum/sheet.py - User → Analysis interface: chooses analysis
README.md - Analysis dispatch → Graph rendering: supplies fitted curves
py/datum/graph.py - User → Page layouts: arranges figures
README.md - User → Export and reports: exports results
README.md