def parse_header(elements) -> dict:
    """
    Parse headers from nodes TSV
    Parameters
    ----------
    elements: list
        The header record
    Returns
    -------
    dict:
        A dictionary of node header names to index
    """
    header_dict = {}
    for col in elements:
        header_dict[col] = elements.index(col)
    return header_dict