TravelMapping / EduTools

Educational tools using TravelMapping data
3 stars 21 forks source link

HDX/AV: Edge/connection selector for conditional breakpoints #277

Closed jteresco closed 1 year ago

jteresco commented 5 years ago

The conditional breakpoints in the Kruskal's AV are using waypoints rather than connections. We would most likely want to stop when a particular connection is encountered, not a waypoint. If waypoint names/numbers are used, two things need to happen: we need to display the waypoints on the map so they can be selected more easily, and we need to allow either endpoint of a connection to match, since these are undirected graphs.

jteresco commented 5 years ago

Same issue in the edge extremes search. In that case, if a vertex with a given number is selected to trigger the conditional break, the edge with that number does trigger. However, the wording mentions "vertex" and the label shown is a vertex label and should an edge defined by its label and endpoint labels.

jteresco commented 5 years ago

This issue is also a problem in the graph traversals/Dijkstra's/Prim's edges.

jteresco commented 1 year ago

To be addressed after #309 converts existing breakpoints.

jteresco commented 1 year ago

Plan: a general edge selector that includes the ability to specify by edge number (which can be accomplished by clicking on an edge on the map), by either or both vertex endpoints, or by edge label.

jteresco commented 1 year ago

Add to:

jteresco commented 1 year ago

There does not seem to be any AV at this point that needs/uses an edge selector for setting AV params, so this is related only to conditional breakpoints.

To select an edge or edges for a possible breakpoint, the following options could be provided: