41 lines
687 B
GraphQL
41 lines
687 B
GraphQL
query GetNodeConnections($uuid: String!, $limitAuto: Int, $limitRail: Int) {
|
|
nodeConnections(uuid: $uuid, limitAuto: $limitAuto, limitRail: $limitRail) {
|
|
hub {
|
|
uuid
|
|
name
|
|
latitude
|
|
longitude
|
|
country
|
|
countryCode
|
|
syncedAt
|
|
}
|
|
railNode {
|
|
uuid
|
|
name
|
|
latitude
|
|
longitude
|
|
country
|
|
countryCode
|
|
syncedAt
|
|
}
|
|
autoEdges {
|
|
toUuid
|
|
toName
|
|
toLatitude
|
|
toLongitude
|
|
distanceKm
|
|
travelTimeSeconds
|
|
transportType
|
|
}
|
|
railEdges {
|
|
toUuid
|
|
toName
|
|
toLatitude
|
|
toLongitude
|
|
distanceKm
|
|
travelTimeSeconds
|
|
transportType
|
|
}
|
|
}
|
|
}
|