Previous topic

fnss.topologies.topology.od_pairs_from_topology

Next topic

fnss.topologies.topology.rename_node_attribute

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