in src/graph_community.py [0:0]
def draw_graph(self, nx_G):
"""
Simply draw a graph for a graph with less than 200 nodes
"""
if len(nx_G.nodes()) <= 200:
pos = nx.kamada_kawai_layout(nx_G)
return nx.draw(nx_G, pos, with_labels=True)
else:
print("Too many nodes (>= 200) to display!")