def __setup_dfs_data(graph, adj):
dfs_data = __get_dfs_data(graph, adj)<EOL>dfs_data['<STR_LIT>'] = graph<EOL>dfs_data['<STR_LIT>'] = adj<EOL>L1, L2 = __low_point_dfs(dfs_data)<EOL>dfs_data['<STR_LIT>'] = L1<EOL>dfs_data['<STR_LIT>'] = L2<EOL>edge_weights = __calculate_edge_weights(dfs_data)<EOL>dfs_data['<STR_LIT>'] = edge_weights<EOL>return dfs_data<EOL>
Sets up the dfs_data object, for consistency.