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
Added createFinalSeededClusteringStrategy(baseStrategy?, options?) to pin canonical full-corpus clusters, vertex assignments, UIDs, and OKLab hues across chronological subsets (0..N) or filtered views while re-seeding cleanly on viewport/mesh resizes.
Added createFinalSeededLayoutStrategy(baseStrategy?, { scaleMode?: 'pinned' | 'adaptive', unseenItemPolicy?: 'fallback' | 'reseed' }) together with canonicalSeedItems / engine.setCanonicalSeedItems(items) to freeze canonical (x, y) coordinates across timeline frames—keeping exact final scales ('pinned') or expanding sparse early frames symmetrically up to 1.0x with exact SAT 0.0 px overlap verification ('adaptive').
Configurable Empty-Cluster Rendering (#8): Added emptyClusterBehavior: 'normal' | 'dim' | 'hide' on SimplexGraphEngine (getEmptyClusterBehavior(), setEmptyClusterBehavior()) to keep future 0-item clusters dimmed or hidden until their first item arrives.
Viewport-Aware Update Reasons (#6): Threaded explicit PipelineUpdateReason ('initial' | 'items' | 'viewport' | 'mesh' | 'strategy') and viewport dimensions into estimateClusterCount(ctx: EstimateClusterCountContext) and ClusteringStrategyContext so shrinking and regrowing the viewport cleanly restores the original cluster count.
Decoupled Tag Display Labels (#7): Added formatTagLabel and resolveTagDisplayLabel to map canonical normalized tag IDs to human-readable labels across cluster titles, breadcrumbs, semantic zoom subclusters, and tooltips without affecting clustering.
Composable Interaction Contract & Manual Relayout (#3, #9): Standardized target-specific click/hover handlers (onContentClick, onClusterClick, onTriangleClick, onBackgroundClick, onLeftClick, onRightClick, onContentHover, onClusterHover, onTriangleHover, and custom onWheel) so returning void/false composes with built-in drill-down/focus/tooltips/zoom and returning true consumes the event; added engine.relayout() to invalidate cached hulls and re-solve layout on demand.
@simplex-viz/svg:
Built-In Chronological Timeline Player HUD (#8): Added timeline option (boolean | TimelinePlayerOptions), controller.timeline, getTimeline(), setTimelineOptions(), and subscribeTimeline() with a theme-adaptive Play/Pause/Step/Scrubber overlay (showControls, position: 'bottom' | 'top'), automatic createFinalSeededClusteringStrategy wrapping (autoFinalSeed: true), optional createFinalSeededLayoutStrategy wrapping (autoFinalSeedLayout: false | 'pinned' | 'adaptive'), and emptyClusterBehavior ('normal' | 'dim' | 'hide').
Cluster Badge Formatting & Fixed/Item-Driven N-Gon Shapes (#4, #11): Added badgeOptions (showCode, maxTitleChars, formatTitle, truncateBadgeTitle) on BadgeClusterSvgView and presets, plus getShape / GeometricShapeSpec / resolveGeometricShapeSpec supporting arbitrary regular polygons (sides >= 3) with exact convex SAT hulls and invariance across 1:4 drill-down levels.
Webfont Auto-Relayout & Composable Handlers (#3, #9): Added relayoutOnFontLoad: true (subscribing to document.fonts.ready / loadingdone with clean destroy() teardown), controller.relayout(), setEmptyClusterBehavior(), and onWheel: 'none' without calling preventDefault().
@simplex-viz/react:
Timeline Props & Reactive Hook (#8): Added timeline, emptyClusterBehavior, and onTimelineStateChange props to <SimplexTopicGraph />, handle.getTimeline() and handle.relayout() on useSimplexGraphController(), and the reactive useSimplexTimeline() hook for declarative custom playback UIs.
Preset Customization & Composable Interactions (#3, #4, #7, #9, #11): Added formatTagLabel, badgeOptions, getShape, relayoutOnFontLoad, and target-specific click props (onContentClick, onClusterClick, onTriangleClick, onBackgroundClick) on <SimplexTopicGraph />, and re-exported all new @simplex-viz/core and @simplex-viz/svg APIs and types.
Showcase, Playground & Documentation:
Enabled live chronological timeline playback (1928–1976) with autoFinalSeedLayout: 'adaptive' and emptyClusterBehavior: 'dim' on the Vega Cinema example, added full Timeline, Final-Seeded Layout, and Empty-Cluster controls to the interactive Playground, and updated all READMEs, docs guides, and homepage copy.