Natural data structure extracted from neighborhood-similarity graphs