pnnl / HyperNetX

Python package for hypergraph analysis and visualization.
https://hypernetx.readthedocs.io
Other
561 stars 92 forks source link

hyperedges as ordered tuple of nodes ? #164

Open gl-yziquel opened 1 month ago

gl-yziquel commented 1 month ago

Hi.

I am looking for a library to prototype hypergraphs. But I'm not sure HyperNetX fits the bill. Reading the documentation, it may not, which is why I am asking.

I wish to represent, more or less, relational structures as hypergraphs. In the mathematical sense of the word. (i.e. "models" of model theory, but with only relations, no functions, no equality). As such, I'd need my hyperedges not to be classes of multiple nodes, but tuples of multiple nodes.

My question(s):

  1. Does HyperNetX support such datastructures ?

  2. If 1. is "no", does HyperNetX provide facilities to extend the code in way that would make this implementable ?

  3. If 1. and 2. are "no", that limitation should IMO be mentionned somewhere rather quickly reachable from the readme.