Soft-Simplex Tag Clustering
Spreads multi-tag items smoothly across triangle interiors while keeping 1-tag items in a free 360° halo.
- Stage 02: Clustering & Projection
- Built-In Preset
- 2 min read
- requiresTags: true
- Updated 2026-11-15
Key Takeaways
- Recommended primary strategy for multi-tag articles, repositories, papers, and catalog items.
- Spreads multi-topic items smoothly across covering triangle interiors instead of stacking them on exact midpoints.
- Leaves single-topic items unconstrained in a 360° outer halo around their vertex.
Visual Mechanism
Factory Signature
@simplex-viz/core, @simplex-viz/svg, and @simplex-viz/reactStage 02 Overview →createSoftSimplexTagClusteringStrategy<TItem, TTagMeta>(options?: SoftSimplexTagOptions<TItem>): SimplexClusteringStrategy<TItem, TTagMeta>Options & Defaults
(item: TItem) => readonly string[]
Strategy-scoped tag extractor (optional if getTags is passed on SimplexTopicGraph).
number
Controls continuous interior spread inside 3-cluster covering triangles (0 = discrete, 1 = broad).
SharedTagRule<TItem>
Promotes cross-cluster bridge tags onto planar mesh edges.
SimplexAnchorRule<TItem>
Prunes redundant secondary cluster matches once an item's tags are explained.
number
Regularizes cluster sizes so high-frequency tags do not monopolize one vertex.
Continuous Interior Spreading + Unconstrained Halos
Discrete tag assignment snaps 2-cluster items onto exact edge midpoints and 3-cluster items onto exact triangle centroids. Soft-Simplex Tag Clustering blends tag specificity across the best covering planar triangle τ = (c₁, c₂, c₃) controlled by triangleSpread, utilizing the 2D triangle area naturally while keeping 1-cluster items (unitVertexIndices.length === 1) completely free to fan around their anchor in 360°.
Usage Example
import {
SimplexTopicGraph,
createSoftSimplexTagClusteringStrategy,
} from '@simplex-viz/react';
const tagClustering = createSoftSimplexTagClusteringStrategy<Article>({
getTags: (article) => article.hashtags,
triangleSpread: 0.45,
sharedTagRule: 'planar-hitting-set',
anchorRule: 'explaining-away',
});
<SimplexTopicGraph items={articles} clusteringStrategy={tagClustering} />;