You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dedicated Framework-Agnostic Web Component (<simplex-topic-graph>, #26): Introduced @simplex-viz/wc as a Layer-3 framework adapter with zero React dependency (sideEffects: ["./dist/define.js"], renderer="svg" ready for future renderers). Provides SimplexTopicGraphElement (Light DOM .sv-wc-stage preserving getBBox(), webfonts, CSS inheritance, and SVG/PNG export), SSR-safe idempotent & alias-safe defineSimplexTopicGraphElement(tagName?), @simplex-viz/wc/define auto-registration subpath, 23 reactive kebab-case HTML attributes + inline <script type="application/json"> support, typed JS properties with pre-upgrade property preservation, bubbling/composed CustomEvents (simplex-click, simplex-hover, simplex-selection-change, simplex-zoom, simplex-timeline-change, simplex-metrics, simplex-clusters-change), and full imperative delegation (getViewState, restoreViewState, exportSvg, exportPng, selection, filtering, drill-down, camera, batch, setOptions, relayout).
@simplex-viz/core:
Reduced-Motion Support (prefers-reduced-motion, #23): Added ReducedMotionPreference ('auto' | boolean), reducedMotion engine option, setReducedMotion() / getReducedMotion() / isReducedMotionActive(), and immediate snapping of node springs, camera flights, zoom transitions, and visual morphs when reduced motion is active.
Interactive Multi-Selection State (#25): Added independent selectedIds state (NodeInteractionState.isSelected), selectedIds config option, setSelectedIds() / toggleSelectedId() / clearSelection() / getSelectedIds(), selectItemsInWorldRect() / selectItemsInScreenRect(), and onSelectionChange callback—orthogonal to highlightedIds, pinnedIds, and hover/focus states.
Serializable View State for Deep-Linking (#24): Added SimplexViewZoomStep, SimplexViewState (version: 1, camera, zoomPath, focusedClusterUid, focusedTriangleIndex, focusedItemId, sorted highlightedIds/selectedIds/pinnedIds, optional timelineStep), RestoreViewStateOptions, getPinnedIds(), getFocusedClusterUid(), getFocusedTriangleIndex(), getViewState(), and restoreViewState() (snaps immediately by default, replays zoomPath cleanly from root, and gracefully ignores stale IDs or unreachable steps without throwing).
@simplex-viz/svg:
Automatic prefers-reduced-motion Media Query Subscription (#23): Added reducedMotion ('auto' default) on SimplexSvgController with live matchMedia('(prefers-reduced-motion: reduce)') subscription & clean destroy() teardown, data-reduced-motion="true" attribute propagation, and setReducedMotion() / getReducedMotion() / isReducedMotionActive().