Some investigation unveiled that gephi now encloses node and edge ids in quotation marks, e.g. gephi 0.8.1 exports
Code: Select all
node
[
id "1"
label "xxxx"
graphics
[
x -494.6182
y -30.708168
z 0.0
w 10.0
h 10.0
d 10.0
fill "#999999"
]
]
Code: Select all
node
[
id 1
label "xxxx"
graphics
[
x -494.6182
y -30.708168
z 0.0
w 10.0
h 10.0
d 10.0
fill "#999999"
]
]
and the List of keys section listsInteger ::= sign digit+
It appears that the addition of quotation marks was part of a specific changeset:.id int
https://github.com/gephi/gephi/pull/524
https://github.com/megaterik/gephi/comm ... 2adc533ca2
Why was this change made? It is only briefly described as "user ids instead of system's". As I understand it, it is meant to export nodes and edges with their ids from the NodeData object, which are strings (as opposed to their ids in the Node objects, which are integers). However, the main point of exporting to a standard format such as GML is to be able to import the data elsewhere. It is important for the sake of interoperability that the format is implemented consistently across different software, which means, in this case, that exported ids should be integers.