Refactor ConnectivityGraphBuilder.
Rename {getPaths} -> {getPath}.