average_shortest_path_length
single_source_shortest_path
Enter search terms or a module, class or function name.
Return true if G has a path from source to target. False otherwise.
G : NetworkX graph
source : node
Starting node for path.
target : node
Ending node for path.