Skip to content

Commit

Permalink
A few minor updates to serialization formats.
Browse files Browse the repository at this point in the history
  • Loading branch information
spmallette committed Jan 16, 2025
1 parent 2ad0c86 commit 2c0ba10
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions book/Section-Common-Serialization-Formats.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,12 @@ ATL,route,TTN
GraphML
~~~~~~~

To be written
GraphML is an XML based format designed to serialize an entire graph. This format is
best used for interoperabiilty with other graph tools and frameworks as it has wide
support. The format specification can be found at http://graphml.graphdrawing.org/.

The following sample file illustrates what the format looks like.


[source,xml]
----
Expand Down Expand Up @@ -241,7 +246,7 @@ To be written
<graph id='routes' edgedefault='directed'>
<node id='1'>
<node id='1'>
<data key='labelV'>airport</data>
<data key='type'>airport</data>
<data key='code'>ATL</data>
Expand All @@ -266,6 +271,9 @@ To be written
</graphml>
----

NOTE: You can learn more about the specifics of the format itself in TinkerPop's IO
Documentation https://tinkerpop.apache.org/docs/current/dev/io/#graphml

GraphSON
~~~~~~~~

Expand Down Expand Up @@ -486,3 +494,23 @@ To be written
}]
}
----

NOTE: You can learn more about the specifics of the format itself in TinkerPop's IO
Documentation. https://tinkerpop.apache.org/docs/current/dev/io/#graphson


GraphBinary
~~~~~~~~~~~

We mention GraphBinary here mostly for informational purposes as GraphBinary is not
meant to be used for persisting graphs to file. It is primarily a network transport
serialization format used by Gremlin Server compliant systems to communicate with
compatible drivers. In general, you do not need to know much about GraphBinary itself
unless you are implementing a server or a driver.

NOTE: You can learn more about the specifics of the format itself in TinkerPop's IO
Documentation. https://tinkerpop.apache.org/docs/current/dev/io/#graphbinary




0 comments on commit 2c0ba10

Please sign in to comment.