Function show_diagram
Source fn show_diagram(
(InMut, In, InMut): (InMut<'_, Ui>, In<Entity>, InMut<'_, DiagramPageCache>),
displayed_lines: Populated<'_, '_, Ref<'_, DisplayedLine>>,
vehicles_query: Populated<'_, '_, (Entity, &Name, &VehicleSchedule, &VehicleScheduleCache)>,
entry_parents: Query<'_, '_, &ChildOf, With<TimetableEntry>>,
timetable_entries: Query<'_, '_, (&TimetableEntry, &TimetableEntryCache)>,
station_names: Query<'_, '_, &Name, With<Station>>,
station_updated: Query<'_, '_, &StationCache, Changed<StationCache>>,
station_caches: Query<'_, '_, &StationCache, With<Station>>,
selected_element: ResMut<'_, SelectedElement>,
timetable_adjustment_writer: MessageWriter<'_, AdjustTimetableEntry>,
visible_stations_scratch: Local<'_, Vec<(Entity, f32)>>,
)