HyperNetX
HyperNetX copied to clipboard
[joss] Most operations fail on empty hypergraph
Describe the bug
Most operations fail on empty hypergraph.
To Reproduce
hh = hnx.Hypergraph()
hn.draw(hh) # errors
hh.is_connected() # errors
hh.bipartite() # errors
Almost all functions / methods I tried threw a non-intuitive error.
HNX 2.1.3
Ref https://github.com/openjournals/joss-reviews/issues/6016
v2.3.2 addresses the non-intuitive errors for hnx.draw() and Hypergraph.bipartite()`.
On an empty hypergraph, hnx.draw() will draw a blank graph. No error is raised; Hypergraph.bipartite() will return an empty networkx graph.
hh.is_connected() will be addressed in a future patch release.