edge_id_orderkey

ucca.core.edge_id_orderkey(edge)[source]

Key function which sorts Edges by its IDs (using id_orderkey()).

Args:
edge: Edge which we wish to sort according to the ID of its parent and children after using id_orderkey().
Returns:
a string with the layer and unique ID in such a way that sort will first order lexicography the layer ID then numerically the unique ID.