Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 08 Jul 13:51
· 484 commits to main since this release
v1.2.0
397e89a

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.

image image

New

  • Gallery — 34 live, copy-pasteable cards demonstrating every major feature in the doc.
  • Image nodes — imageFit modes (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 d3GravityStrengthConnected floor.

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 (@use over @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 renderNode size feeds the collision radius; visibility
    observer guarded against an unset selection.
  • Filtering / query — null/undefined facet values dropped (crash); programmatic
    setFilter reflected in the panel; excludeNode/includeNode act 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.