How metantonio/tesis-ucv-ui works
This React web app is a UI for a civil-engineering thesis on optimizing braced steel buildings with genetic algorithms and drift constraints. The user enters building geometry, configures gravity and seismic loads, reviews steel profiles, and reaches structural calculations and optimization results. Routing in src/js/layout.js is the runtime entry point for these screens; shared React context holds configuration and profile data. The excerpts show calculations and spectrum visualization, but not the full calculation implementation. Other views are included where the route map or README identifies them; uncertain internal interactions are omitted.
Main entry points: layout.js Routes and layout · flux.js Design state and actions · calculus.js Analysis and optimization · appContext.js Context provider
Components 17
Application shell
- React entry
src/js/index.js - Routes and layout
src/js/layout.js - Navigation bar
src/js/component/navbar.js - Thesis footer
src/js/component/footer.js - Author information
src/js/views/autor.js - Demo view
src/js/views/demo.js - Single-item view
src/js/views/single.js - Scroll handling
src/js/component/scrollToTop.js
Design inputs
- Thesis home
src/js/views/home-tesis.js - Building geometry
src/js/views/stucture.js - Loads and spectrum
src/js/views/forces.js - Steel profiles
src/js/views/profiles.js
Structural analysis
- Analysis and optimization
src/js/views/calculus.js - Result chart
src/js/views/App.js
Shared state
- Context provider
src/js/store/appContext.js - Design state and actions
src/js/store/flux.js
Other components
- Engineer
Connections 19
- Engineer → React entry: opens app
README.md - React entry → Routes and layout: renders
src/js/index.js - Routes and layout → Navigation bar: renders
src/js/layout.js - Routes and layout → Thesis footer: renders
src/js/layout.js - Routes and layout → Scroll handling: wraps routes
src/js/layout.js - Routes and layout → Thesis home: routes to
src/js/layout.js - Routes and layout → Building geometry: routes to
src/js/layout.js - Routes and layout → Loads and spectrum: routes to
src/js/layout.js - Routes and layout → Steel profiles: routes to
src/js/layout.js - Routes and layout → Analysis and optimization: routes to
src/js/layout.js - Routes and layout → Author information: routes to
src/js/layout.js - Routes and layout → Single-item view: routes to
src/js/layout.js - Context provider → Routes and layout: provides state
src/js/layout.js - Context provider → Design state and actions: initializes actions
src/js/store/appContext.js - Loads and spectrum → Design state and actions: updates parameters
src/js/views/forces.js - Steel profiles → Design state and actions: reads catalog
src/js/views/profiles.js - Analysis and optimization → Design state and actions: reads design inputs
src/js/views/calculus.js - Result chart → Analysis and optimization: reads chart data
src/js/views/App.js - Routes and layout → Demo view: route referenced
src/js/layout.js