TopologyDiagram.node_gkey

TopologyDiagram.node_gkey(precision=None)[source]

Returns a dictionary that maps node dictionary keys to the corresponding geometric key up to a certain precision.

Parameters:

precision (str, optional) – The float precision specifier used in string formatting.

Returns:

dict[hashable, str] – A dictionary of key-geometric key pairs.