Add tuple key support in GenericGraph.__getitem__()
#3798
Labels
new feature
Enhancement specifically adding a new feature (feature request should be used for issues instead)
Description of proposed feature
imo This is confusing. Why not add a support for edge mapping?
How can the new feature be used?
Every time people want to get or set a edge, just write
g[(1, 2)]
instead ofg.edges[(1, 2)]
.The text was updated successfully, but these errors were encountered: