How yb-lim/inplite works
InpLite is a Rust desktop editor for large Abaqus .inp models. A user opens a model; the application loads it as editable text plus on-disk bulk placeholders, then presents editing, navigation, analysis, mesh checks, and large-block viewing. Save and include-splitting preserve or externalize model data; compare and export-without-mesh are additional workflows. The graph includes the central runtime modules and README capabilities. Some app-to-feature connections are documented or inferred from imports rather than shown as calls in the excerpts.
Main entry points: app.rs Application shell · analysis.rs Structure and checks · store.rs Mapped bulk store · syntax.rs Syntax and diagnostics
Components 20
Desktop interface
- Application shell
Source/src/app.rs - Text editor
Source/src/editor.rs - Code rendering
Source/src/codeview.rs - Model outline
Source/src/outline.rs - Bulk data viewer
Source/src/viewer.rs - UI panels
Source/src/panels.rs - UI actions
Source/src/actions.rs
Document handling
- Document tab state
Source/src/tab.rs - File scanner
Source/src/load.rs - Document and save
Source/src/doc.rs - Mapped bulk store
Source/src/store.rs
Model analysis
- Structure and checks
Source/src/analysis.rs - Syntax and diagnostics
Source/src/syntax.rs - Keyword schema
Source/src/schema.rs - Mesh index and checks
Source/src/mesh.rs
Model tools
- Model comparison
Source/src/diff.rs - Compare view
Source/src/diffview.rs - Editor settings
Source/src/settings.rs - Model screenshots
Source/src/shots.rs
Other components
- Model editor user
Connections 27
- Model editor user → Application shell: opens and edits
README.md - Application shell → File scanner: loads model
Source/src/app.rs - File scanner → Mapped bulk store: stores bulk blocks
Source/src/load.rs - Document tab state → Structure and checks: starts analysis
Source/src/tab.rs - Document tab state → Syntax and diagnostics: checks edited text
Source/src/tab.rs - Document tab state → Mesh index and checks: starts mesh checks
Source/src/tab.rs - Structure and checks → Syntax and diagnostics: parses lines
Source/src/analysis.rs - Structure and checks → Keyword schema: checks keywords
Source/src/analysis.rs - Structure and checks → Mapped bulk store: resolves placeholders
Source/src/analysis.rs - Syntax and diagnostics → Keyword schema: validates keywords
Source/src/syntax.rs - Syntax and diagnostics → Mapped bulk store: checks placeholders
Source/src/syntax.rs - Mesh index and checks → Mapped bulk store: reads bulk data
Source/src/mesh.rs - Application shell → Text editor: presents editing
Source/src/app.rs - Application shell → Model outline: presents outline
Source/src/app.rs - Application shell → Bulk data viewer: opens data viewer
Source/src/app.rs - Application shell → Document and save: saves and splits
Source/src/app.rs - Application shell → Model comparison: compares files
Source/src/app.rs - Compare view → Model comparison: renders comparison
Source/src/diffview.rs - Text editor → Code rendering: renders text
Source/src/editor.rs - Model outline → Structure and checks: renders analysis
Source/src/outline.rs - Bulk data viewer → Mapped bulk store: reads bulk data
Source/src/viewer.rs - Bulk data viewer → Model outline: gets split action
Source/src/viewer.rs - Text editor → Structure and checks: navigates definitions
Source/src/editor.rs - Application shell → UI actions: handles requests
Source/src/app.rs - Application shell → Editor settings: uses preferences
Source/src/app.rs - Application shell → UI panels: shows panels
Source/src/app.rs - Application shell → Model screenshots: captures views
Source/src/app.rs