code: function saveGraphSONSync(graph, filename) {
          var FileOutputStream = Tinkerpop.autoImport('FileOutputStream');
          var stream = new FileOutputStream(filename);
          var builder = Tinkerpop.GraphSONWriter.build();
          var mapper = _newGraphSONMapperSync();
          builder.mapper(mapper);
          var writer = builder.create();
          writer.writeGraph(stream, graph);
          return graph;
      }
docs: ### `saveGraphSONSync(graph: Java.Graph, filename: string)` Saves the graph as GraphSON, and returns the graph (for fluent API).