add communication in the partitionGraph.jsp