I am using Janusgraph in a remote server to which I connect with a python remote client via
from gremlin_python import statics
from gremlin_python.structure.graph import Graph
from gremlin_python.process.graph_traversal import __
from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection
graph = Graph()
connection = DriverRemoteConnection('ws://localhost:8182/gremlin', 'g')
g = graph.traversal().withRemote(connection)
but when I try to export the graph to a GraphML file with
g.io("graph.xml").write().iterate()
it gets saved in the remote server instead of the local client.
Is there a way to save the GraphML file locally? Thanks in advance!!!