langchain/graphs/networkx_graph.py/NetworkxEntityGraph/write_to_gml
class NetworkxEntityGraph:    def write_to_gml(self, path: str) -> None:
        import networkx as nx

        nx.write_gml(self._graph, path)