ash_model.utils.projections.bipartite_projection¶
- ash_model.utils.projections.bipartite_projection(h, start=None, end=None, keep_attrs=False)[source]¶
Returns a NetworkX Graph object that is the bipartite projection of the given ASH object. The bipartite projection of a hypergraph is a graph constructed by placing an edge between every node and every hyperedge that contains it.
- Parameters:
- Returns:
A NetworkX Graph object representing the bipartite projection of the ASH.
- Return type: