Skip to content

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

Description

@untoldengine

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions