Question: Getting list of connected nodes to a node
0
gravatar for An7ar35
9 months ago by
An7ar350
An7ar350 wrote:

Is there a way to get a list of all connected nodes? i.e. in a graph A->B, A->C, A<-D for node A getting {B, C} I'm trying to apply and run an SCC algo on the graph. Thanks.

gatb • 267 views
ADD COMMENTlink modified 9 months ago by edrezen680 • written 9 months ago by An7ar350
2
gravatar for edrezen
9 months ago by
edrezen680
France
edrezen680 wrote:

Hello, You could have a look here, in particular the "successor" method of the Graph class.

ADD COMMENTlink written 9 months ago by edrezen680
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 798 users visited in the last hour