How rinterface/shinyheatmap works
shinyHeatmap is an R package for recording Shiny app interactions and previewing persistent heatmaps. The main workflow wraps the app UI, captures normalized browser coordinates, stores session logs locally, then aggregates compatible sessions into a heatmap preview. The graph includes the client-side capture/rendering layer and the documented preview controls. R implementation details beyond the README workflow were not sampled, so those links are supported by README statements rather than claims about unseen calls.
Main entry points: exts/shiny-heatmap.js JS capture and display · heatmap.R Server processing · utils.R Heatmap utilities · heatmap.js-2.0.5/shiny-heatmap.js Shipped client bundle
Components 11
Shiny integration
- UI wrapper
R/heatmap.R - Server processing
R/heatmap.R - Heatmap utilities
R/utils.R
Browser capture
- JS capture and display
srcjs/exts/shiny-heatmap.js - Shipped client bundle
inst/heatmap.js-2.0.5/shiny-heatmap.js
Session data
- Session JSON logs
Heatmap preview
- Preview generation
R/heatmap.R - Heatmap image
- Preview controls
srcjs/exts/shiny-heatmap.js
Other components
- Shiny app
- Browser session
Connections 13
- Shiny app → UI wrapper: wraps UI with
README.md - Shiny app → Server processing: calls
README.md - UI wrapper → JS capture and display: includes dependencies
README.md - Browser session → JS capture and display: provides interactions
srcjs/exts/shiny-heatmap.js - JS capture and display → Server processing: sends coordinates
README.md - Server processing → Session JSON logs: writes session logs
README.md - Preview generation → Session JSON logs: reads logs
README.md - Server processing → Preview generation: dispatches preview
README.md - Preview generation → Heatmap image: generates PNG
README.md - Preview generation → JS capture and display: sends heatmap data
README.md - JS capture and display → Preview controls: renders controls
srcjs/exts/shiny-heatmap.js - JS capture and display → Shipped client bundle: is bundled as
- Server processing → Heatmap utilities: uses utilities