route

public TransportRoute route(String from, String to)

The flight between two nodes as an ordinary route, so journeys need no network-specific code.