jimmymathews / graph-path

Explore graph structure at the command line
0 stars 0 forks source link

Disconnected components handling #12

Open jimmymathews opened 4 years ago

jimmymathews commented 4 years ago

Currently if you request a path between two nodes which are not in the same connected component of the graph, we are not interpreting the igraph API return value correctly and an error is triggered. Let us handle this gracefully. Say, by automatically acting as though the user double-enter-keyed to create a new path.