Community Detection, Label Propagation, Python, Networkx, Graph.
follows: First step: calculate the SH-index of each node in 𝐺 and sort in ascending order Second step: updating the process of the SH-LPA algorithm a. Initialize each node as a unique label (for example 1,2,3…) b. Obtain the visit sequence of each node using SH-Index c. Traverse each node in the