Exporting properties from Neo4j to Gephi doesn't work

I am used to make the export from neo4j to Gephi without properties , but now I tried to add properties (actually just one which is 'id' by using this query :

MATCH path = (a:Attributaire2018)-[c:CollaborateWith2018]->(b:Attributaire2018)
CALL apoc.gephi.add(null,'workspace1',path,['id']) yield nodes
return *

But I am getting this error :

property 'id' is already reserved for node id's I think when streaming to Gephi. You must use a different property name if you want to export it to Gephi.

Check the code at: neo4j-apoc-procedures/Gephi.java at 3.4 · neo4j-contrib/neo4j-apoc-procedures · GitHub

1 Like

well for the node "Attributaire2018" I already set id for its ID . How can I change it ?

Btw for people who need an answer for my last question : here is the link : cypher - Neo4J: Renaming property keys - Stack Overflow

@bratanic_tomaz even after changinf the name of the property , I am still having the same issue :confused:
image

You will need to change the query to

CALL apoc.gephi.add(null,'workspace1',path,'weight',['siren'])

1 Like

Oh yeah ! I forgot about the weight ! Thank you again Tomaz :wink: