def get_numbers_from_name(name):
    """ Extract the filenumer and the graphnumber from the node name
    """
    name = name.split("_")
    file_number = int(name[3][:-4]) # -> remove .gml from number
    graph_number = int(name[-1])
    return(file_number, graph_number)