powered by
Rename a node in a community.
renamenode(COMM, oldname, newname)
The community with the new name.
The community from which to remove nodes.
The node's old name
The node's new name
renamenode(intro_comm, oldname = "Predator", newname = "NewPredator")
Run the code above in your browser using DataLab