// link stops to each other based on distance only, unless user has requested linking
// based on transfers.txt or the street network (if available).
if ((!hasOSM ) || params.longDistance) {
if (!params.useTransfersTxt) {
if (!hasOSM || !params.useStreetsForLinking) {
graphBuilder.addGraphBuilder(new StreetlessStopLinker());
}
}
}
if ( hasOSM ) {
graphBuilder.addGraphBuilder(new TransitToTaggedStopsGraphBuilderImpl());