I'm trying to build an Adjacency List from all the nodes. I basically need to know which nodes a node is connected to.
Something like this (v represents a node):
v1=[v2 v6]
v2=[v4 v5 v6]
v3=[v2]
v4=[v3]
etc...
Is there a function in your API that does this? I could not find any.
If there isn't one, is there a way to get the node id that a link connects to?
Hi,
I'm trying to build an Adjacency List from all the nodes. I basically need to know which nodes a node is connected to. Something like this (v represents a node):
v1=[v2 v6] v2=[v4 v5 v6] v3=[v2] v4=[v3] etc...
Is there a function in your API that does this? I could not find any.
If there isn't one, is there a way to get the node id that a link connects to?
thanks