TopologyDiagram.gkey_key

TopologyDiagram.gkey_key(precision=None)[source]

Returns a dictionary that maps geometric keys of a certain precision to the keys of the corresponding nodes.

Parameters:

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

Returns:

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