path Between
fun pathBetween(name: String, from: AnchorRef, to: AnchorRef, vararg waypoints: Pair<Double, Double>, bidirectional: Boolean = true)(source)
Defines a functional path between two anchors (network stations or locations): the waypoints are the intermediate points, and at replay a move between the two anchors follows the polyline. When bidirectional (the default), the reverse move reuses the waypoints reversed. See PathDefinition. Use AnchorRef.location / AnchorRef.station for the endpoints.