Incremental Tag Anchoring
Preserves existing cluster vertices and UIDs during live updates while attaching new tags incrementally.
- Stage 02: Clustering & Projection
- Built-In Preset
- 1 min read
- requiresTags: true
- Updated 2026-11-15
Key Takeaways
- Ideal for live collaborative feeds, streaming search results, and incremental document ingestion.
- Prevents existing topic vertices from swapping positions when new items and tags arrive.
Visual Mechanism
Factory Signature
Re-exported from
@simplex-viz/core, @simplex-viz/svg, and @simplex-viz/reactStage 02 Overview →createIncrementalAnchorClusteringStrategy<TItem, TTagMeta>(options?: IncrementalClusteringOptions<TItem>): SimplexClusteringStrategy<TItem, TTagMeta>Options & Defaults
getTagsDefault: item.tags
(item: TItem) => readonly string[]
Extracts discrete topic tags per item.
sharedTagRuleDefault: 'planar-hitting-set'
SharedTagRule<TItem>
Updates planar bridge tag coverage incrementally as new co-occurrences appear.
anchorRuleDefault: 'explaining-away'
SimplexAnchorRule<TItem>
Computes barycentric simplex weights against the pinned vertex topics.
Zero-Reshuffle Streaming Updates
On initialize(), Incremental Tag Anchoring establishes the initial K-vertex topic layout via QAP annealing. On subsequent update() calls (when items are added or removed without changing mesh dimensions), it freezes existing vertex assignments and routes newly discovered tags to the vertex with highest co-occurrence affinity—guaranteeing maximum spatial mental-map stability.
Usage Example
import {
SimplexTopicGraph,
createIncrementalAnchorClusteringStrategy,
createWarmStartPbdLayoutStrategy,
} from '@simplex-viz/react';
<SimplexTopicGraph
items={liveStreamItems}
clusteringStrategy={createIncrementalAnchorClusteringStrategy()}
layoutStrategy={createWarmStartPbdLayoutStrategy()}
/>;