Network.gkey_node

Network.gkey_node(precision=None)[source]

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

Parameters:
precisionint, optional

Precision for converting numbers to strings. Default is TOL.precision.

Returns:
dict[str, hashable]

A dictionary of (geometric key, node) pairs.

See also

node_gkey()
compas.Tolerance.geometric_key()