You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2018/07/17 12:43:00 UTC

[jira] [Updated] (TINKERPOP-2007) GraphML serialization shall by default be ordered and have an improved ordering

     [ https://issues.apache.org/jira/browse/TINKERPOP-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stephen mallette updated TINKERPOP-2007:
----------------------------------------
    Component/s: io

> 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
>          Components: io
>    Affects Versions: 3.3.3
>            Reporter: Svante Schubert
>            Priority: Minor
>
> 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)