Function show_diagram
Source fn show_diagram(
(InMut, InMut, InRef, InMut, InRef): (InMut<'_, Ui>, InMut<'_, DiagramPageCache>, InRef<'_, [RenderedVehicle]>, InMut<'_, Painter>, InRef<'_, Response>),
station_names: Query<'_, '_, &Name, With<Station>>,
timetable_entries: Query<'_, '_, (&TimetableEntry, &TimetableEntryCache)>,
selected_element: ResMut<'_, SelectedElement>,
timetable_adjustment_writer: MessageWriter<'_, AdjustTimetableEntry>,
visible_stations_scratch: Local<'_, Vec<(Instance<Station>, f32)>>,
)