About Book Graph Algorithms ,The content shown in the result graph does not match the text description

The code demonstration only shows how to use labelPropagation. The algorithm has no application of pagerank, but the results shown in the figure have pagerank related features. This makes me very confused