public static StarGraphGryoSerializer withGraphFilter(final GraphFilter graphFilter) {
        final StarGraphGryoSerializer serializer = new StarGraphGryoSerializer(Direction.BOTH, graphFilter.clone());
        return serializer;
    }
Gets a serializer from the cache.  Use {@code null} for the direction when requiring a serializer that
doesn't serialize the edges of a vertex.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/star/StarGraphGryoSerializer.java