def node_label(node):
    return "%s(%s)" % (node.identifier() or str(type(node)), id(node))
Debug label for a node: node identifier with python object id.
dataset/ETHPy150Open Stiivi/brewery/brewery/streams.py/node_label