This is for the graph Summarization