Closed jteresco closed 1 year 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.
This issue is also a problem in the graph traversals/Dijkstra's/Prim's edges.
To be addressed after #309 converts existing breakpoints.
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.
Add to:
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:
NY5
would match an edge labeled NY5
or US20,NY5
but not NY50
).
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.