game::sandbox::dashboards::trip_problems

Function problem_matrix

Source
pub fn problem_matrix(
    ctx: &mut EventCtx<'_>,
    app: &App,
    trips: Vec<(TripID, Duration, isize)>,
) -> Widget
Expand description

The caller should handle Outcome::ClickCustom with Vec for clicked cells.