from typing import List
from typing import Tuple


def edge_path_to_node_path(path: List[Tuple]) -> List[str]:
    """
    Convert a path of edges to a simple list of nodes (without direction information)
    :param path: the path of edges which will be convert
    :return: a path of nodes
    """
    if len(path) == 0:
        return []

    node_path = [path[0][0]]  # first node is the source of the path
    # the remaining nodes are the destination
    node_path += [e[1] for e in node_path[1:]]
    return node_path