High-performance graphical view filtering with Sprotty
summary
Sprotty renders a diagram model in the browser while avoiding DOM overload by skipping elements outside the viewport (viewport culling), swapping simplified SVG representations at zoom thresholds (example code uses zoom <0.2, 0.2–0.5, >0.5) (client-side level-of-detail), and driving domain-aware filters and a preprocessing step that annotates display states (highlight, faded, none). Hierarchical nesting enables lazy-loading of subgraphs and port-aware layouts; layout uses the Eclipse Layout Kernel (ELK) transpiled to JavaScript (nested graphs).
AI-written summary · about
chapters (8)
- 0:00Introduction to graphical views
- 1:31Performance challenges
- 3:48Level of detail optimization
- 10:09Smart filtering strategies
- 18:39Model pre-processing
- 21:26Hierarchical nesting
- 26:01Layout and implementation
- 29:20Summary and Q&A
related talks
34mLucky in the Cloud With Diagrams
43mVisualizations using SVG, Canvas, and WebGL in Vue
24mCreating Interactive Data Visualizations for the Web
43mThe Future of Data Visualization on the Web
37mSupporting Data Journalism through Compilers for Visual Inputs
38mThinking DSLs for Massive Visualization
46mArchitectural Decisions for Interactive Viz
51mDiagrams as code 2.0
