This function plots and returns annual graph modularity values for predefined corpora (representing communities). See compute_modularity for details on modularity calculation.
cesure: Year before which values should be cumulated. Default value is -1, which indicates that each year in the time window should be plotted.
window: The temporal sliding window size over which modularity should be computed.
modularity_function: Modularity function to be used for the calculation: "custom" indicates that compute_custom_modularity will be used, whereas "normal" indicates that compute_modularity will be used.
Returns
Returns a dataframe containing year and annual modularity value.