Graph embedding via dissimilarity mapping for network comparison