hypergraphx icon indicating copy to clipboard operation
hypergraphx copied to clipboard

add_attr_to_node_metadata not available in Hypergraph class

Open IsaacFigNewton opened this issue 6 months ago • 1 comments

I installed the package in a Google Colab notebook and am trying to run the basics.ipynb notebook. Unfortunately it looks like the Hypergraph class is missing the add_attr_to_node_metadata method and I couldn't find anything about it when looking through the commits. Is this deprecated or is there a workaround other than removing a node and adding a copy of it with metadata back in?

Image

P.S. I love this project so much, keep up the great work!

IsaacFigNewton avatar Jul 15 '25 03:07 IsaacFigNewton

Hello! Thanks a lot!:)

That specific function is deprecated and I'm working on improving it, should be available in the next release. In the meanwhile yes, probably the best workaround is removing the node and updating metadata

FraLotito avatar Jul 18 '25 11:07 FraLotito