def to_csv_path(graph: BELGraph, path: str, sep: Optional[str] = None) -> None:
    """Write the graph as a tab-separated edge list to a file at the given path."""
    with open(path, 'w') as file:
        to_csv(graph, file, sep=sep)
Write the graph as a tab-separated edge list to a file at the given path.