ta.TwitterAnalysis.plot_graph_contracted_nodes¶
-
TwitterAnalysis.plot_graph_contracted_nodes(G, file)[source]¶ Method to compress and plot graph based on the graph reduction settings that can be updated using the setConfigs method.
- Parameters
G – undirected networkx graph created from the Twitter data
file – the path and name of the graph you want to save
Example
>>> plot_graph_contracted_nodes(G, 'c:\Data\MyGraph.png')