Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Is there a function to retrieve all nodes a node connects to? #165

Open
untoldengine opened this issue Sep 7, 2022 · 0 comments

Comments

@untoldengine
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant