How jigonzalez930209/egui-workbench works
egui-workbench is a reusable egui desktop workbench shell and UI library, not a complete editor or document renderer. An application composes its shell and components, receives UI events, and owns state and command handling. The library also offers charting and file viewing, with supporting data/query modules and optional runtime helpers. README-documented integrations extend the product to Python, agents, and sandboxed extensions. Some subsystem paths are supported by the tree and README rather than sampled implementation; edges are limited to documented relationships or indexed references.
Main entry points: app.rs Starter app state · components Reusable components · app App runtime helpers · shell.rs Fixed workbench shell
Components 23
Application runtime
- Starter app state
templates/app/src/app.rs - App runtime helpers
src/app - Command registry
src/commands - Fixed workbench shell
src/app/shell.rs - DevTools
src/app/devtools - Command journal
src/app/journal.rs - Workspace layout
src/app/layout.rs
Workbench UI
- Window and chrome
src/chrome - Reusable components
src/components - Themes and global
src/foundation
Content components
- Interactive plots
src/components/plot - GPU plot rendering
src/components/plot/gpu.rs - File viewer
src/components/viewer - Data grid
src/components/data_grid.rs
Data services
- Data sources
src/data - Column data model
src/data/column.rs - Query parser and AST
src/data/query/parser.rs
Bindings and extensions
- Python workbench
crates/egui-workbench-python/python/egui_workbench/app.py - Declarative host
crates/egui-workbench-host/src/runtime.rs - Agent and MCP
crates/egui-workbench-agent/src - WASM extensions
crates/egui-workbench-extensions/src/runtime.rs
Other components
- Application developer
- Workbench user
Connections 22
- Application developer → Starter app state: builds on
README.md - Starter app state → App runtime helpers: uses runtime
templates/app/src/app.rs - Starter app state → Command registry: handles commands
templates/app/src/app.rs - Starter app state → Fixed workbench shell: shows shell
templates/app/src/app.rs - Fixed workbench shell → Window and chrome: frames content
- Starter app state → Reusable components: composes UI
README.md - Workbench user → Reusable components: interacts with
README.md - Reusable components → Starter app state: returns events
README.md - Starter app state → Themes and global: sets theme
templates/app/src/app.rs - Starter app state → Command journal: records commands
templates/app/src/app.rs - Starter app state → Interactive plots: opens chart views
templates/app/src/app.rs - Starter app state → File viewer: opens file views
README.md - Interactive plots → GPU plot rendering: renders with
src/components/plot/mod.rs - File viewer → Data sources: reads files
README.md - Data grid → Column data model: presents columns
- Query parser and AST → Column data model: uses values
src/data/query/parser.rs - Application developer → Python workbench: builds Python app
README.md - Python workbench → Declarative host: uses native host
README.md - Application developer → Agent and MCP: enables agent control
README.md - Application developer → WASM extensions: loads extensions
README.md - DevTools → Command journal: shows journal
src/app/devtools/mod.rs - App runtime helpers → Workspace layout: provides layout
src/app/mod.rs