weldx.transformations.CoordinateSystemManager.relabel

CoordinateSystemManager.relabel(mapping)

Rename one or more nodes of the graph.

See networkx.relabel.relabel_nodes for details. CSM will always be changed inplace.

Parameters

mapping (Dict[str, str]) – A dictionary mapping with the old node names as keys and new node names labels as values.