Links for pattern-clustering