mathbeveridge / asoiaf

Character Interaction Networks for George R. R. Martin's "A Song of Ice and Fire" saga
140 stars 112 forks source link

Calculate weight #6

Closed brunopenso closed 3 years ago

brunopenso commented 3 years ago

Hi @mathbeveridge thanks for the contribution and I'm learning a lot using the https://github.com/neo4j-contrib/neovis.js/

I trying to use this to my use case here and I'm struggle on how to calculate weight between the nodes.

How did you do it?

Thanks

mathbeveridge commented 3 years ago

Hi Bruno,

I'm not an expert on neo4j but I'm very happy they use my data in their examples.

Their https://github.com/neo4j-contrib/neovis.js/#readme might have your answer? It looks like they LOAD CSV WITH HEADERS and then call toInteger(row.weight)

Good luck!