Structure-aware graph representation learning using graph neural networks