Rendering Graphs Your Way: The Case for Going Custom
summary
A custom graph renderer is engineered from scratch using WebGL rendering (optionally WebAssembly), an event-driven core, web workers and Graphology for the graph model, with GPU-friendly buffers, SDF text glyphs, and quadtree spatial index (or KD-tree) for 10k+ node hit testing. Layouts run on the GPU or workers as GPU-accelerated force layout or multilevel approaches, and the team achieves ~13,000 nodes laid out in under 5 seconds while keeping interactive animations and camera updates.
AI-written summary · about
chapters (11)
- 0:00Introduction to custom graph visualization
- 1:14Business case for custom rendering
- 8:18Hiring the right developers
- 11:33Architecture and event-based design
- 13:21Graph and rendering modules
- 16:18WebGL rendering pipeline
- 18:49Text rendering challenges
- 20:57Interaction and collision detection
- 22:18Layout algorithms and challenges
- 27:16Animation and grouping modules
- 28:40Summary and Q&A
related talks
37mOriginal graphics libraries powering web dataviz
40mVisualizing Large Datasets with JavaScript Using Deck.gl
58mRendering performance from the ground up
35mVisualizations using SVG, Canvas, and WebGL in Vue
34mNext-Generation 3D Graphics on the Web
42mRendering performance from the ground up
01h 08mThe quest for the graphical web
28mTurbo charging 2D on the web
