Class GraphMLWriter

  • All Implemented Interfaces:

    public final class GraphMLWriter
    extends Object
    implements GraphWriter
    GraphMLWriter writes a Graph to a GraphML OutputStream. Note that this format is lossy, in the sense that data types and features of Gremlin Structure not supported by GraphML are not serialized. This format is meant for external export of a graph to tools outside of Gremlin Structure graphs. Note that GraphML does not support the notion of multi-properties or properties on properties and will throw an exception when writing a graph elements that have such things.
    Marko A. Rodriguez (, Joshua Shinavier (, Stephen Mallette (