Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-07-2018 01:57 AM
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 :
Solved! Go to Solution.
12-07-2018 03:26 AM
You will need to change the query to
CALL apoc.gephi.add(null,'workspace1',path,'weight',['siren'])
12-07-2018 02:02 AM
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: https://github.com/neo4j-contrib/neo4j-apoc-procedures/blob/3.4/src/main/java/apoc/gephi/Gephi.java#...
12-07-2018 02:05 AM
well for the node "Attributaire2018" I already set id for its ID . How can I change it ?
12-07-2018 02:19 AM
Btw for people who need an answer for my last question : here is the link : https://stackoverflow.com/questions/28618410/neo4j-renaming-property-keys/28618569
12-07-2018 02:30 AM
@bratanic.tomaz even after changinf the name of the property , I am still having the same issue
12-07-2018 03:26 AM
You will need to change the query to
CALL apoc.gephi.add(null,'workspace1',path,'weight',['siren'])
12-07-2018 04:40 AM
Oh yeah ! I forgot about the weight ! Thank you again Tomaz
All the sessions of the conference are now available online