ta.TwitterAnalysis.graph_analysis_files

TwitterAnalysis.graph_analysis_files(G, path, gr_prefix_nm='')[source]

Plot graph analysis files for a given graph G. It uses the configuration set on the setConfigs method.

Parameters
  • G – undirected networkx graph created from the Twitter data

  • path – the path where the files should be saved

  • gr_prefix_nm ((Optional)) – a prefix to add to the graph name. (Default=’’)

Examples

Create graph visualization files

>>> graph_analysis_files(G, 'C:\Data\MyAnalysis\', 'MyNameTest')