Module diagram

Module diagram 

Source

Modulesยง

edit_line ๐Ÿ”’

Structsยง

DiagramPageCache
DiagramTab
RenderedVehicle ๐Ÿ”’

Enumsยง

EditingState ๐Ÿ”’
SelectedEntityType

Constantsยง

TICKS_PER_SECOND ๐Ÿ”’

Functionsยง

calculate_visible_ranges ๐Ÿ”’
collect_rendered_vehicles ๐Ÿ”’
Collects and transforms vehicle schedule data into screen-space segments for rendering. This function handles the mapping of timetable entries to station lines, including cases where a station might appear multiple times in the diagram.
draw_interval_selection_overlay ๐Ÿ”’
draw_station_lines ๐Ÿ”’
draw_station_selection_overlay ๐Ÿ”’
draw_time_lines ๐Ÿ”’
Draw vertical time lines and labels
draw_vehicle_selection_overlay ๐Ÿ”’
draw_vehicles ๐Ÿ”’
ensure_heights ๐Ÿ”’
handle_input_selection ๐Ÿ”’
handle_navigation ๐Ÿ”’
show_diagram ๐Ÿ”’
ticks_to_screen_x ๐Ÿ”’

Type Aliasesยง

PointData ๐Ÿ”’