ChartExtension extension
- on
Properties
-
routeMap
→ Map<
String, Route> -
Available on Chart, provided by the ChartExtension extension
no setter -
routeStrings
→ Set<
String> -
Available on Chart, provided by the ChartExtension extension
no setter -
tripMap
→ Map<
String, Trip> -
Available on Chart, provided by the ChartExtension extension
no setter -
tripStrings
→ Set<
String> -
Available on Chart, provided by the ChartExtension extension
no setter - uuid → String
-
Available on Chart, provided by the ChartExtension extension
no setter -
waypoint0IdToEdgesMap
→ Map<
String, List< WaypointEdge> > -
Available on Chart, provided by the ChartExtension extension
no setter -
waypoint1IdToEdgesMap
→ Map<
String, List< WaypointEdge> > -
Available on Chart, provided by the ChartExtension extension
no setter -
waypointMap
→ Map<
String, Waypoint> -
Available on Chart, provided by the ChartExtension extension
no setter -
waypointToEdgesMap
→ Map<
String, List< WaypointEdge> > -
Available on Chart, provided by the ChartExtension extension
no setter -
waypointUuids
→ Set<
String> -
Available on Chart, provided by the ChartExtension extension
no setter
Methods
-
getEdgesForRoute(
String routeString) → Set< WaypointEdge> -
Available on Chart, provided by the ChartExtension extension
-
getEdgesForWaypoint(
String waypointString) → List< WaypointEdge> -
Available on Chart, provided by the ChartExtension extension
-
getEdgesForWaypointList(
List< String> waypointUuids) → List<WaypointEdge> -
Available on Chart, provided by the ChartExtension extension
Constructs the full path of edges by connecting a sequence of specified waypoints. Finds the path between each consecutive pair in the input list using BFS, allowing for intermediate waypoints. It then attempts to find a path from the last waypoint back to the first to close the loop. Returns the concatenated list of all edges in the full path. If the loop cannot be closed, it returns the path connecting the specified waypoints in order, without the closing segment. Returns an empty list only if any of the initial required segments (e.g., wp1->wp2, wp2->wp3) cannot be found. -
getRouteByString(
String routeString) → Route? -
Available on Chart, provided by the ChartExtension extension
-
getTripByString(
String tripString) → Trip? -
Available on Chart, provided by the ChartExtension extension
-
getWaypointByString(
String waypointString) → Waypoint? -
Available on Chart, provided by the ChartExtension extension
-
getWaypointsForEdge(
WaypointEdge edge) → List< Waypoint> -
Available on Chart, provided by the ChartExtension extension
-
getWaypointsForRoute(
String routeString) → List< Waypoint> ? -
Available on Chart, provided by the ChartExtension extension
-
toModel(
) → ChartModel -
Available on Chart, provided by the ChartExtension extension