v1.2.0
Documentation gallery rebuild + library hardening (v1.2.0)
Rebuilds the examples gallery from scratch — 34 interactive cards across 8 phases
(styling, layouts, events, editing/notes, filtering, theming, and scale up to
~1,500 nodes) — and fixes/extends the library features those cards exercised.
New
- Gallery — 34 live, copy-pasteable cards demonstrating every major feature in the doc.
- Image nodes —
imageFitmodes (icon / cover / contain / frame), click-to-reveal
full picture, and a graceful fallback glyph for broken images. - Font-agnostic icons — resolve node icons across Font Awesome + misp-iconify.
- Seedable & pinnable layouts — preserve initial node x/y and honour caller
fx/fy. - Gravity tiers — configurable
d3GravityStrengthConnectedfloor.
Changes
- Version bumped to 1.2.0.
- Replaced tom-select with the in-house PivotickPicker.
- Simulation worker hardened: serialization-safe DTOs, compute-time slow-tick
detection, and main-thread fallback when the worker is blocked. - Sass modernized (
@useover@import); lint + dataset cleanups.
Fixes
- Simulation / clustering — positions written back by node id; external edges
re-anchored to expanded clusters; cross-cluster edges re-targeted through collapse
states; charge damping clamped (no more NaN); fit-and-center after the layout settles. - Rendering — measured
renderNodesize feeds the collision radius; visibility
observer guarded against an unset selection. - Filtering / query — null/undefined facet values dropped (crash); programmatic
setFilterreflected in the panel;excludeNode/includeNodeact on the live node;
integer attributes added to the numbers set. - Edges / tooltip — per-edge style preserved across
updateStyle; themed label
colours; tooltip honours its own header/properties maps.