Inserting data using GraphML
How to insert data into a graph database using GraphML.
After the vertex and edge properties are defined, the graph data can be defined.
Because GraphML is XML data, the node element <node ...>
is used
to define a vertex, and the edge element <edge ...>
is used to
define an edge.
In general, GraphML files have been written from graphs that have previously been created. In DSE Graph, the vertex and edge identification is composed of three parts plus a label value that are created when a vertex is added with another method like a Gremlin command. These instruction dissect a GraphML file to explain the features.