Vertex Selection


Hi Alexander,

Downloaded the latest version and it is looking great. The zoom control is great. The only thing I noticed is you can't change the size of the current extent from within the zoom control. It changes the mouse cursor so it looks like you can change the size but it doesn't do anything. Very minor really.

The main reason for my message is asking how you do selection of multiple vertices. It would be great to select an area (like pressing Alt+mouse drag) of vertices. Another way would be to hold down "Ctrl" and add to the selection of vertices.

I would like to be able to move multiple at a time, or select and delete multiple at a time, or even select multiple and then have my own right click context menu that I can use on all selected vertices.

Thanks again. Looking great.

Kind Regards,


file attachments


panthernet wrote Jan 24, 2014 at 4:27 PM

Hi, i don't understand the issue you describe :) Can you please describe it more?

And you can see how to do multiple verttices selection in Showcase app Dynamic graph tab. Use Ctrl+Alt+click to select (this can be changed in ZoomControl). Grouped vertices can be moved and deleted at once.

wrote Jan 31, 2014 at 2:32 PM

RobD wrote Jan 31, 2014 at 2:32 PM


Sorry for the delay in responding. As you can see from the attachment. If you hover the mouse over the read box (zoomed in area) and then try and increase the zoomed in area, it does nothing.

I can now see how you select multiple vertices on the graph. Is there anyway to change the shortcut or action? I would like to be able to click the mouse on the vertex to select it and then once selected be able to move it. I would like to override the alt + mouse drag, so instead of zooming in, it selects the area of vertices.

Have you tried to change the vertex control to edit the text in the control. Or double click on a vertex to expand the control to get more details? Any demo code of this? Would be great to be able to expand a vertex to get more details. Some apps as you zoom in changes the contents of the vertex, which is quite cool. So as you are zoomed out you get basic details but as you zoom in then you can get more details.

Again, many thanks.


panthernet wrote Jan 31, 2014 at 7:43 PM

Selection keys are currently hardcoded in ZoomControl.cs line 1192 (case ModifierKeys.Alt | ModifierKeys.Control:). Can be moved to template in near future.

ViewBox resize is not yet implemented.

Mmm, text edit should be available if you customize template for VertexControl. Look for template files in Showcase app. Technicaly it might be possible to dynamicaly change VertexControl template. I think it should be possible to bind TemplateSelector to ZoomControl::Zoom property and select appropriate template based on its value. Though i barely have time to investigate it now, sorry. But you can try to do it by yourself cause it is mostly WPF templates work.