This interactive HNSW demo needs canvas 2D support, which this browser does not expose.
Short version: HNSW searches a stack of graphs, coarse layers first, and only measures distance to a small visited subset instead of every stored vector.
Seeding vectors
Rebuilding index

PROTRAILBLAZER

HNSW Vector Search · Layered Graph
PHASEREADY
LAYER--
HOPS0
DIST CHECKS0
CANDIDATES0
BEST DIST--
RECALL@5--
VISITED0%
Vectors1,000
M / Connectivity8
16
Query Region
Search cost · measured on this graph
BRUTE
0
HNSW
0
brute force checks every vector
Legend
QUERY
ENTRY
PATH
CHECKED
BEAM
RESULT
TAP THE BASE LAYER TO PLACE A QUERY · DRAG TO ORBIT