src/pybel/io/graphdati.py
def to_graphdati_file(graph: BELGraph, path: Union[str, TextIO], use_identifiers: bool = True, **kwargs) -> None:
    """Write this graph as GraphDati JSON to a file.

    :param graph: A BEL graph
    :param path: A path or file-like
    """
    json.dump(to_graphdati(graph, use_identifiers=use_identifiers), path, ensure_ascii=False, **kwargs)
Write this graph as GraphDati JSON to a file.

    :param graph: A BEL graph
    :param path: A path or file-like
    
Write this graph as GraphDati JSON to a file.
Write this graph as GraphDati JSON to a file .
def to_graphdati_file(graph: BELGraph, path: Union[str, TextIO], use_identifiers: bool = True, **kwargs) -> None:
    json.dump(to_graphdati(graph, use_identifiers=use_identifiers), path, ensure_ascii=False, **kwargs)
def to_graphdati_file ( graph : BELGraph , path : Union [ str , TextIO ] , use_identifiers : bool = True , ** kwargs ) -> None : json . dump ( to_graphdati ( graph , use_identifiers = use_identifiers ) , path , ensure_ascii = False , ** kwargs )
Write this graph as GraphDati JSON to a file.
Write this graph as GraphDati JSON to a file .
"""Write this graph as GraphDati JSON to a file.

    :param graph: A BEL graph
    :param path: A path or file-like
    """
graph
BELGraph
A BEL graph
A BEL graph
path
Union[str, TextIO]
A path or file-like
A path or file - like
use_identifiers
bool