0

I have a Digraph constructed with networkx that has 37379 nodes and 61263 edges. I would like to extract for a node target, a subgraph that contain only the target node and the first nodes that are linked to it.

I tried the answers here and it only drawn me the target node. Have i missed something ? I checked that there were edges in my graph ( i just output as json and saw "source and target" items)

Community
  • 1
  • 1
qdelettre
  • 1,873
  • 5
  • 25
  • 36

1 Answers1

0

Please delete the question, it was a key type error as my keys are integers and tried to make a subgraph with string keys...

qdelettre
  • 1,873
  • 5
  • 25
  • 36