Skip to content

Squashage v0.2.0 — sigma+graphology WebGL chunked demo

Choose a tag to compare

@Studnicky Studnicky released this 05 May 22:11
384dce2

Squashage v0.2.0

Graph reconstitution pipeline + interactive WebGL demo.

Highlights

  • Visualisation engine replaced: cytoscape (canvas, 18 MB inline HTML, runtime layout) → sigma 3 + graphology + ForceAtlas2 (WebGL, chunked artifacts, layout baked offline). Cold load on the full 13 089-node / 40 078-edge AON corpus goes from "never finishes" to <5 s, even in hidden tabs.
  • Vendor bundle: 760 KB → 155 KB. HTML wrapper: 18 MB → ~170 KB.
  • Hover/select hue-shifts the focus node and its neighbours toward the rose accent (no resizing); labels render with a 4-px halo so they read against any cluster color; non-incident edges hide.
  • Streaming kicks off via setTimeout (rAF is throttled in hidden tabs).

Breaking

  • The viz CLI now emits a directory (<basename>/<basename>.html, index.json, chunks/*.json) instead of a single inline-everything HTML file. New --iterations <n> flag for FA2 override.

Try it

The deployed AON demo: https://studnicky.github.io/Squashage/examples/aonprd/aonprd.html

Full changelog: CHANGELOG.md