xgi
xgi copied to clipboard
CompleX Group Interactions (XGI) is a Python package for higher-order networks.
If we remove the for-loop in the function that draws the hypergraph nodes with `scatter` and instead pass iterables into the scatter function, it could be faster. Also, if we...
Perhaps we can implement this as part of `H.clear()`, or as a standalone method..
This PR does the following: * Removes `draw_dihypergraph` and moves its contents to `draw_bipartite`. * The `draw_bipartite` now handles `Hypergraph` and `DiHypergraph` objects. * Added the `bipartite_spring_layout` position function.
Updated the following: * The "Using XGI" page * Added missing documentation for the Encapsulation DAG conversion module * Added links to the JOSS paper * Updated the list for...
Minimal working example: ```python import xgi H = xgi.Hypergraph([[1, 2, 3]]) nodal_property = [-1, 0, 1] xgi.draw(H, node_size=nodal_property, rescale_sizes=True) ``` gives the error `ValueError: node_size cannot contain negative values.` We...
I want to use the same node positions to draw a few different hypergraphs on the same set of nodes. My lazy approach was to draw the first hypergraph with...
With PR #491, drawing edges as convex hulls is now an option of `draw`. I'm wondering, however, if there is a case where we don't want this behavior. I'm specifically...
EasyGraph (https://github.com/easy-graph/Easy-Graph) is also a hypergraph analysis tool
From here https://github.com/nplresearch/higher_order_LRG
A user reached out and asked if we could allow empty edges. I added the `empty_edges` as an optional keyword to opt-in to this behavior.