def enumerate_dfs_subgraphs(graph, df_limit=100):
    enumeration = SubgraphEnumeration(graph, node_set_size_limit=df_limit)
    search.df(enumeration, df_limit)
    return set((SemanticGraph(nodes, edges, nonterminal_count=0) for (nodes, edges) in enumeration.subgraphs))
def enumerate_dfs_subgraphs(graph, df_limit=100):
    enumeration = SubgraphEnumeration(graph, node_set_size_limit=df_limit)
    search.df(enumeration, df_limit)
    return set((SemanticGraph(nodes, edges, nonterminal_count=0) for (nodes, edges) in enumeration.subgraphs))