get_ids_from_label#

BinTreeNetworkX.get_ids_from_label(label: str) list[int]#

Get a list of all tangle ids which are labeled in the tree by the specified label.

Parameters#

labelstr

The label to look for in the tree.

Returns#

list of int

The list of all node ids which are labeled by label in the tree. If the label does not exist in the tree an empty list is returned.