easy-graph / Easy-Graph

EasyGraph is an open-source network analysis library designed to cover advanced network processing methods. It includes functionalities for detecting structural hole spanners, network embedding, and various classic network analysis techniques.
https://easy-graph.github.io/
BSD 3-Clause "New" or "Revised" License
400 stars 39 forks source link

There is an issue with the ‘EasyGraph-Hypergraph’ in the document #137

Closed zhingoll closed 2 days ago

zhingoll commented 4 days ago

Issue

image At the second block of code in the ‘EasyGraph-Hypergraph’ section, since the hyperedge (2,4) is a completely new edge, the actual output of print should be as follows: hg.e: ([(0, 1, 2), (2, 3), (0, 4), (2, 4)], [1.0, 2.0, 1.0, 1.0], [{}, {}, {}, {}])

yizhihenpidehou commented 2 days ago

I'm sorry, that might be the error in our documentation. I test that code in my local environment, and it should output: hg.e: ([(0, 1, 2), (2, 3), (0, 4), (2, 4)], [1.0, 2.0, 1.0, 1.0], [{}, {}, {}, {}]) We will fix this mistake as soon as possible, thanks a lot~