similarity_graph function

Similarity Graph