Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
is_path
Returns whether or not the specified path exists
G (graph) – A NetworkX graph.
path (list) – A list of node labels which defines the path to traverse
isPath – A boolean representing whether or not the path exists
bool