You can select nodes, perhaps in scattered locations within a window, using this technique.
If the clicked node was selected, it is deselected; if the node was not selected, it is added to the current selection. Any other selected nodes or arc are not affected.