Methods of network embeddings and their applications