ash_model.utils.networkx.from_networkx_maximal_cliques¶ ash_model.utils.networkx.from_networkx_maximal_cliques(graph, start, end=None)[source]¶ Convert maximal cliques of a NetworkX Graph into an ASH. Parameters: graph (Graph) – Undirected NetworkX Graph. start (int) – Start time of clique hyperedges. end (int | None) – Optional end time of clique hyperedges. Returns: ASH object with each maximal clique as a hyperedge. Return type: ASH