Graph Classification and Clustering Based on Vector Space Embedding