code: def time_greedy_modularity_communities(self, graph):
      _ = community.greedy_modularity_communities(
          self.graphs_dict[graph]
      )
  
file_path: networkx/benchmarks/benchmarks/benchmark_algorithms.py
imports: import networkx
  from benchmarks.utils import fetch_drug_interaction_network
  from networkx.algorithms import community
label_desc: Use image node_id 3 for calling the AlgorithmBenchmarks obj's underlying member method code with example usage: obj.time_greedy_modularity_communities(graph) without return types