I am using python with networkx package. I need to find the nodes connected to out edges of a given node.
I know there is a function networkx.DiGraph.out_edges but it returns out edges for the entire graph.
I am using python with networkx package. I need to find the nodes connected
Share
I’m not a networkx expert, but have you tried networkx.DiGraph.out_edges, specifying the source node?
If you just want the out edges for a single node, pass that node in inside the nbunch: