CGC: Contrastive Graph Clustering for Community Detection and Tracking