Selecting edges

Dec 15, 2010 at 2:22 AM


I would like to know if there's a way to select a particular edge in a graph using the WPF control by clicking on it. When the property MouseAlsoSelectsIncidentEdges is set, all the edges connected to particular vertex are selected. If the option is disabled, there doesn't seem to be a way to select a particular edge. I'm looking for this feature to be able to tag edges with specific properties when selected.

Thank you,


Dec 15, 2010 at 5:26 AM


No, not without custom programming.  Selecting an edge would be difficult from the user's point of view, given that they are sometimes just one pixel wide.  You could conceivably drag a marquee to select an edge, but the control already uses marquee dragging to select multiple vertices, so that could get confusing pretty quickly.

-- Tony