Reputation: 1873
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)
Upvotes: 0
Views: 269
Reputation: 1873
Please delete the question, it was a key type error as my keys are integers and tried to make a subgraph with string keys...
Upvotes: 0