From 2c0ba10e84907b31e00c02260734334b2034e779 Mon Sep 17 00:00:00 2001 From: Stephen Mallette Date: Thu, 16 Jan 2025 08:00:07 -0500 Subject: [PATCH] A few minor updates to serialization formats. --- .../Section-Common-Serialization-Formats.adoc | 32 +++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/book/Section-Common-Serialization-Formats.adoc b/book/Section-Common-Serialization-Formats.adoc index 6d55541..64be6ec 100644 --- a/book/Section-Common-Serialization-Formats.adoc +++ b/book/Section-Common-Serialization-Formats.adoc @@ -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] ---- @@ -241,7 +246,7 @@ To be written - + airport airport ATL @@ -266,6 +271,9 @@ 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/#graphml + GraphSON ~~~~~~~~ @@ -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 + + + +