fnss.topologies.topology.rename_edge_attribute

rename_edge_attribute(topology, old_attr, new_attr)[source]

Rename all edges attributes with a specific name to a new name

Parameters:
topology : Topology

The topology object

old_attr : any hashable type

Old attribute name

new_attr : any hashable type

New attribute name