Closed vsraptor closed 1 year ago
@vsraptor You cannot create a hypergraph where two edges have the same unique identifier. You can draw a hypergraph with the same label on the edges though:
d = {0 : ["red","apple","rotten"], 1 : ["black","pen"]}
h = hnx.Hypergraph(d)
hnx.draw(h,edge_labels={0:"is",1:"is"},edge_labels_kwargs={'fontsize':15})
You can also attach properties to each hyperedge that store "is" as data. This will be easier in our next release.
Is it possible for edges with the same name but different nodes to coexist. Something like this :
How do you achieve this ?