Svante Schubert created TINKERPOP-2007:
------------------------------------------
Summary: GraphML serialization shall by default be ordered and
have an improved ordering
Key: TINKERPOP-2007
URL: https://issues.apache.org/jira/browse/TINKERPOP-2007
Project: TinkerPop
Issue Type: Improvement
Affects Versions: 3.3.3
Reporter: Svante Schubert
To ease readability and regression tests based on GraphML files (especially
used for loading Graphs into Gephi) I suggest to
a) order (or normalize) the GraphML by default (e.g. from Gremlin console)
b) improve the ordering if numbers are involved, oppose to String only:
Currently, in the reference test file for normalized GraphML
["tinkerpop-classic-normalized.xml"|https://github.com/apache/tinkerpop/blob/master/gremlin-test/src/main/resources/org/apache/tinkerpop/gremlin/structure/io/graphml/tinkerpop-classic-normalized.xml],
the ordering of edge IDs goes like
10
11
12
7
8
9
instead of
7
8
9
10
11
12
It goes even jumpier if hundred or thousand of edges are involved.
I am going to provide a GitHub pull request.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)