def to_json_path(graph: BELGraph, path: str, **kwargs) -> None:
    """Write this graph to the given path as a Node-Link JSON."""
    with open(os.path.expanduser(path), 'w') as f:
        to_json_file(graph, file=f, **kwargs)
def to_json_path ( graph : BELGraph , path : str , ** kwargs ) -> None : with open ( os . path . expanduser ( path ) , 'w' ) as f : to_json_file ( graph , file = f , ** kwargs )
Write this graph to the given path as a Node-Link JSON.