pnnl / HyperNetX

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

[joss] Can HNX represent isolated nodes? #138

Open szhorvat opened 5 months ago

szhorvat commented 5 months ago

Until #137 is answered, I'll just ask questions here. I hope that's okay.

Can HNX represent isolated nodes? If yes, how can I construct a hypergraph with isolated nodes? If not, can you point to the section of the docs that explains this? I'm sure I'm missing something.

I noticed that when removing edges using .remove_edges() (docs missing), nodes with no remaining incident edges also disappear.

Ref: https://github.com/openjournals/joss-reviews/issues/6016

bonicim commented 5 months ago

The current version of HNX does not support representing isolated nodes. This may be a feature in a future version.

szhorvat commented 5 months ago

Is this mentioned in the documentation or tutorials? If not, it would be nice to clarify it.