def get_label_name(node, dialogue_list):
    """
    Takes a node and returns the name for its label
    """
    for dialogue in dialogue_list:
        if dialogue["Id"] == node["Parent"]:
            label_name = "{}_{}".format(dialogue["DisplayName"], node["Id"])
            return label_name