Open colltoaction opened 1 week ago
@colltoaction --- this is a great idea! Do you want to take the lead on this? If not, happy to give it a try.
Definitely! I'm thinking I can use the nx.Graph attributes like the HIF top-level metadata:
I would like to implement DiHypergraphs for from_bipartite at the moment, but there is more work to do for feature parity.
Hi, do you think it's possible to support
DiHypergraph
s in this API?https://github.com/xgi-org/xgi/blob/139a2bc5f1cff7f77090d1e7b882821833b7fe0b/xgi/convert/bipartite_graph.py#L12
I can try to implement it but I wonder what the API would look like. Likely something compatible with HIF.